Unified · Split
| @@ -60,6 +60,11 @@ static av_cold int qsv_decode_close(AVCodecContext *avctx) · 59 unmodified lines | |||
| 60 | { | 60 | { |
| 61 | QSVOtherContext *s = avctx->priv_data; | 61 | QSVOtherContext *s = avctx->priv_data; |
| 62 | 62 | ||
| 63 | #if CONFIG_VP8_QSV_DECODER | ||
| 64 | if (avctx->codec_id == AV_CODEC_ID_VP8) | ||
| 65 | av_freep(&s->qsv.load_plugins); | ||
| 66 | #endif | ||
| 67 | |||
| 63 | ff_qsv_decode_close(&s->qsv); | 68 | ff_qsv_decode_close(&s->qsv); |
| 64 | 69 | ||
| 65 | qsv_clear_buffers(s); | 70 | qsv_clear_buffers(s); |