[FFmpeg-devel] [PATCH] avcodec/mpeg12dec: flush a53 data
Aman Karmani
ffmpegagent at gmail.com
Mon Jan 2 21:18:36 EET 2023
From: Aman Karmani <aman at tmm1.net>
Signed-off-by: Aman Karmani <aman at tmm1.net>
---
avcodec/mpeg12dec: flush a53 data
Published-As: https://github.com/ffstaging/FFmpeg/releases/tag/pr-ffstaging-45%2Ftmm1%2Fmpeg2-a53-flush-v1
Fetch-It-Via: git fetch https://github.com/ffstaging/FFmpeg pr-ffstaging-45/tmm1/mpeg2-a53-flush-v1
Pull-Request: https://github.com/ffstaging/FFmpeg/pull/45
libavcodec/mpeg12dec.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/mpeg12dec.c b/libavcodec/mpeg12dec.c
index 914516bbd9..fee2d4a10e 100644
--- a/libavcodec/mpeg12dec.c
+++ b/libavcodec/mpeg12dec.c
@@ -2845,6 +2845,7 @@ static void flush(AVCodecContext *avctx)
s->sync = 0;
s->closed_gop = 0;
+ av_buffer_unref(&s->a53_buf_ref);
ff_mpeg_flush(avctx);
}
base-commit: 3bcec58535d395945a390bdc7af4048a7abc60eb
--
ffmpeg-codebot
More information about the ffmpeg-devel
mailing list