Merge commit '2c32eace5ec4d1d7ca4e0220856cd2815ccc71b2'

* commit '2c32eace5ec4d1d7ca4e0220856cd2815ccc71b2':
  qsvdec: close the MFX decoder on uninit

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
pull/118/merge
Hendrik Leppkes 9 years ago
commit 9457a11a22
  1. 1
      libavcodec/qsvdec.c

@ -293,6 +293,7 @@ static void close_decoder(QSVContext *q)
{ {
QSVFrame *cur; QSVFrame *cur;
if (q->session)
MFXVideoDECODE_Close(q->session); MFXVideoDECODE_Close(q->session);
cur = q->work_frames; cur = q->work_frames;

Loading…
Cancel
Save