From 4b2b9a6604d4dd9294dec4d26644cdc2a7c8b16b Mon Sep 17 00:00:00 2001 From: Aman Karmani Date: Mon, 2 Jan 2023 19:18:36 +0000 Subject: [PATCH] avcodec/mpeg12dec: flush a53 data Signed-off-by: Aman Karmani Signed-off-by: Anton Khirnov --- libavcodec/mpeg12dec.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavcodec/mpeg12dec.c b/libavcodec/mpeg12dec.c index 4bc2fabff3..9999926f55 100644 --- a/libavcodec/mpeg12dec.c +++ b/libavcodec/mpeg12dec.c @@ -2862,6 +2862,7 @@ static void flush(AVCodecContext *avctx) s->sync = 0; s->closed_gop = 0; + av_buffer_unref(&s->a53_buf_ref); ff_mpeg_flush(avctx); }