vlc/vlc-2.1 | branch: master | Luca Barbato <[email protected]> | Mon Oct 21 23:48:11 2013 +0200| [d512667653133b8e1a1030ae1d0486544bb8b41d] | committer: Jean-Baptiste Kempf
Fix DxVA2 crash on Error path Close #9500 and #9665 Signed-off-by: Jean-Baptiste Kempf <[email protected]> (cherry picked from commit 5e5a9ad1ae043664f860822437cd2e624e0188e9) Signed-off-by: Jean-Baptiste Kempf <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc/vlc-2.1.git/?a=commit;h=d512667653133b8e1a1030ae1d0486544bb8b41d --- modules/codec/avcodec/dxva2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/codec/avcodec/dxva2.c b/modules/codec/avcodec/dxva2.c index e2b0327..1e2f0b7 100644 --- a/modules/codec/avcodec/dxva2.c +++ b/modules/codec/avcodec/dxva2.c @@ -559,7 +559,7 @@ static int Open(vlc_va_t *external, int codec_id, const es_format_t *fmt) return VLC_SUCCESS; error: - Close(va); + Close(external); return VLC_EGENERIC; } /* */ _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
