vlc | branch: master | Steve Lhomme <[email protected]> | Tue Sep 6 09:13:11 2016 +0200| [88b419b48758ae9989e65074cee6e8f767892ddc] | committer: Jean-Baptiste Kempf
d3d11va: fix error returned when we can't get an YV12 filter Signed-off-by: Jean-Baptiste Kempf <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=88b419b48758ae9989e65074cee6e8f767892ddc --- modules/codec/avcodec/d3d11va.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/codec/avcodec/d3d11va.c b/modules/codec/avcodec/d3d11va.c index 9f0aea8..038b117 100644 --- a/modules/codec/avcodec/d3d11va.c +++ b/modules/codec/avcodec/d3d11va.c @@ -475,7 +475,10 @@ static int Open(vlc_va_t *va, AVCodecContext *ctx, enum PixelFormat pix_fmt, { sys->filter = CreateFilter( VLC_OBJECT(va), fmt, sys->i_chroma); if (sys->filter == NULL) + { + err = VLC_EGENERIC; goto error; + } } err = directx_va_Setup(va, &sys->dx_sys, ctx); _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
