Browse Source

avcodec/av1dec: call ff_cbs_flush() on decoder flush

Signed-off-by: James Almer <jamrial@gmail.com>
tags/n4.4
James Almer 5 years ago
parent
commit
aa5e49e46d
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      libavcodec/av1dec.c

+ 2
- 0
libavcodec/av1dec.c View File

@@ -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…
Cancel
Save