Commit b4718b76 authored by James Almer's avatar James Almer

Merge commit 'f2e9a0ec'

* commit 'f2e9a0ec':
  qsv/vp8dec: fixes memory leak issue
Merged-by: 's avatarJames Almer <jamrial@gmail.com>
parents f61cf0e4 f2e9a0ec
...@@ -60,6 +60,11 @@ static av_cold int qsv_decode_close(AVCodecContext *avctx) ...@@ -60,6 +60,11 @@ static av_cold int qsv_decode_close(AVCodecContext *avctx)
{ {
QSVOtherContext *s = avctx->priv_data; QSVOtherContext *s = avctx->priv_data;
#if CONFIG_VP8_QSV_DECODER
if (avctx->codec_id == AV_CODEC_ID_VP8)
av_freep(&s->qsv.load_plugins);
#endif
ff_qsv_decode_close(&s->qsv); ff_qsv_decode_close(&s->qsv);
qsv_clear_buffers(s); qsv_clear_buffers(s);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment