mirror of https://git.ffmpeg.org/ffmpeg.git
Merge commit '2c32eace5ec4d1d7ca4e0220856cd2815ccc71b2'
* commit '2c32eace5ec4d1d7ca4e0220856cd2815ccc71b2': qsvdec: close the MFX decoder on uninit Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
This commit is contained in:
commit
9457a11a22
|
@ -293,7 +293,8 @@ static void close_decoder(QSVContext *q)
|
|||
{
|
||||
QSVFrame *cur;
|
||||
|
||||
MFXVideoDECODE_Close(q->session);
|
||||
if (q->session)
|
||||
MFXVideoDECODE_Close(q->session);
|
||||
|
||||
cur = q->work_frames;
|
||||
while (cur) {
|
||||
|
|
Loading…
Reference in New Issue