avcodec/mpeg12dec: flush a53 data

Signed-off-by: Aman Karmani <aman@tmm1.net>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
This commit is contained in:
Aman Karmani 2023-01-02 19:18:36 +00:00 committed by Anton Khirnov
parent 4a80db5fc2
commit 4b2b9a6604
1 changed files with 1 additions and 0 deletions

View File

@ -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);
}