libavcodec/qsvdec.c: missed MFXVideoDECODE_Close() call

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
pull/140/head
Ivan Uskov 10 years ago committed by Michael Niedermayer
parent 736a386055
commit 264ba3d847
  1. 3
      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;

Loading…
Cancel
Save