mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Merge commit 'f2e9a0ecbef5027f9532c49ffcdfc11d199f6150'
* commit 'f2e9a0ecbef5027f9532c49ffcdfc11d199f6150': qsv/vp8dec: fixes memory leak issue Merged-by: James Almer <jamrial@gmail.com>
This commit is contained in:
commit
b4718b7693
@ -60,6 +60,11 @@ static av_cold int qsv_decode_close(AVCodecContext *avctx)
|
||||
{
|
||||
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);
|
||||
|
||||
qsv_clear_buffers(s);
|
||||
|
Loading…
Reference in New Issue
Block a user