[FFmpeg-cvslog] libavcodec/qsvdec.c: missed MFXVideoDECODE_Close() call
Ivan Uskov
git at videolan.org
Mon Jul 20 20:14:45 CEST 2015
ffmpeg | branch: master | Ivan Uskov <ivan.uskov at nablet.com> | Mon Jul 20 09:48:29 2015 -0400| [264ba3d847f93a5be8989d139a6bd4abce195304] | committer: Michael Niedermayer
libavcodec/qsvdec.c: missed MFXVideoDECODE_Close() call
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=264ba3d847f93a5be8989d139a6bd4abce195304
---
libavcodec/qsvdec.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/libavcodec/qsvdec.c b/libavcodec/qsvdec.c
index c422529..2646731 100644
--- a/libavcodec/qsvdec.c
+++ b/libavcodec/qsvdec.c
@@ -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;
More information about the ffmpeg-cvslog
mailing list