aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2020-09-24 18:54:14 -0300
committerJames Almer <jamrial@gmail.com>2020-09-29 21:38:27 -0300
commitaa5e49e46d3aa22cc805c85a982afac1405aede5 (patch)
tree0e46f90089c8277741b1b0bd93a133a4859aa48c /libavcodec
parent3392c1b05ea1a0b9a77bfb8075350af261cb0ab4 (diff)
downloadffmpeg-aa5e49e46d3aa22cc805c85a982afac1405aede5.tar.gz
avcodec/av1dec: call ff_cbs_flush() on decoder flush
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/av1dec.c2
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 = {