Skip to content

Commit

Permalink
avcodec/mpeg12dec: flush a53 data
Browse files Browse the repository at this point in the history
Signed-off-by: Aman Karmani <[email protected]>
Signed-off-by: Anton Khirnov <[email protected]>
  • Loading branch information
tmm1 authored and elenril committed Jan 6, 2023
1 parent 4a80db5 commit 4b2b9a6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libavcodec/mpeg12dec.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 4b2b9a6

Please sign in to comment.