mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02: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…
x
Reference in New Issue
Block a user