mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
libavcodec/qsvdec.c: missed MFXVideoDECODE_Close() call
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
736a386055
commit
264ba3d847
@ -300,6 +300,9 @@ int ff_qsv_decode_close(QSVContext *q)
|
||||
av_fifo_free(q->async_fifo);
|
||||
q->async_fifo = NULL;
|
||||
|
||||
MFXVideoDECODE_Close(q->session);
|
||||
q->session = NULL;
|
||||
|
||||
ff_qsv_close_internal_session(&q->internal_qs);
|
||||
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user