vlc | branch: master | Luca Barbato <[email protected]> | Mon Oct 21 23:48:11 2013 +0200| [5e5a9ad1ae043664f860822437cd2e624e0188e9] | committer: Jean-Baptiste Kempf
Fix DxVA2 crash on Error path Close #9500 and #9665 Signed-off-by: Jean-Baptiste Kempf <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5e5a9ad1ae043664f860822437cd2e624e0188e9 --- 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 490e424..2ef69ec 100644 --- a/modules/codec/avcodec/dxva2.c +++ b/modules/codec/avcodec/dxva2.c @@ -552,7 +552,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
