Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Uskov <ivan.uskov@nablet.com>2015-07-20 16:48:29 +0300
committerMichael Niedermayer <michael@niedermayer.cc>2015-07-20 20:57:57 +0300
commit264ba3d847f93a5be8989d139a6bd4abce195304 (patch)
treea8de27787e453b20023a563a69974b36324b5fd2 /libavcodec/qsvdec.c
parent736a3860555adb4e786c45c294c3ef7ccc8ba1f7 (diff)
libavcodec/qsvdec.c: missed MFXVideoDECODE_Close() call
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/qsvdec.c')
-rw-r--r--libavcodec/qsvdec.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/qsvdec.c b/libavcodec/qsvdec.c
index c422529bc5..26467313fc 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;