This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
qsvdec: close the MFX decoder on uninit
tags/n3.0
Anton Khirnov
10 years ago
parent
d0c8c380ec
commit
2c32eace5e
1 changed files
with
3 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
libavcodec/qsvdec.c
+ 3
- 0
libavcodec/qsvdec.c
View File
@@ -309,6 +309,9 @@ int ff_qsv_decode_close(QSVContext *q)
{
QSVFrame *cur = q->work_frames;
if (q->session)
MFXVideoDECODE_Close(q->session);
while (cur) {
q->work_frames = cur->next;
av_frame_free(&cur->frame);
Write
Preview
Loading…
Cancel
Save