hwcontext_d3d11va: fix crash on frames_init failure
authorwm4 <nfxjfg@googlemail.com>
Thu, 22 Jun 2017 12:52:54 +0000 (14:52 +0200)
committerLuca Barbato <lu_zero@gentoo.org>
Mon, 26 Jun 2017 22:23:12 +0000 (00:23 +0200)
commit086321c612185469ebb85a1887527c8915b488b7
tree157ce363ace7fa140aa9a0713bc26e1f8fe8f184
parent752ddb45569ffe278393cd853b70f18ae017219e
hwcontext_d3d11va: fix crash on frames_init failure

It appears in this case, frames_ininit is called twice (once by
av_hwframe_ctx_init(), and again by unreffing the frames ctx ref).

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
libavutil/hwcontext_d3d11va.c