diff options
author | James Almer <jamrial@gmail.com> | 2020-09-24 18:54:14 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2020-09-29 21:38:27 -0300 |
commit | aa5e49e46d3aa22cc805c85a982afac1405aede5 (patch) | |
tree | 0e46f90089c8277741b1b0bd93a133a4859aa48c | |
parent | 3392c1b05ea1a0b9a77bfb8075350af261cb0ab4 (diff) | |
download | ffmpeg-aa5e49e46d3aa22cc805c85a982afac1405aede5.tar.gz |
avcodec/av1dec: call ff_cbs_flush() on decoder flush
Signed-off-by: James Almer <jamrial@gmail.com>
-rw-r--r-- | libavcodec/av1dec.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/av1dec.c b/libavcodec/av1dec.c index a30a496b4c..07026b7aeb 100644 --- a/libavcodec/av1dec.c +++ b/libavcodec/av1dec.c @@ -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 = { |