mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-22 23:33:07 +00:00
avcodec/av1dec: call ff_cbs_flush() on decoder flush
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
3392c1b05e
commit
aa5e49e46d
@ -854,6 +854,8 @@ static void av1_decode_flush(AVCodecContext *avctx)
|
||||
av1_frame_unref(avctx, &s->cur_frame);
|
||||
s->raw_frame_header = NULL;
|
||||
s->raw_seq = NULL;
|
||||
|
||||
ff_cbs_flush(s->cbc);
|
||||
}
|
||||
|
||||
AVCodec ff_av1_decoder = {
|
||||
|
Loading…
Reference in New Issue
Block a user