diff options
author | James Almer <jamrial@gmail.com> | 2020-08-23 16:23:56 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2020-08-23 20:53:58 -0300 |
commit | 6c20207dceefa0452c65c719f0326cbc0177e827 (patch) | |
tree | 6a1009a1ae6f62722144612911758cd2f29b7e91 /libavcodec | |
parent | f1e92ee36b5e6bda6bf748e802fcda64aa5bab20 (diff) | |
download | ffmpeg-6c20207dceefa0452c65c719f0326cbc0177e827.tar.gz |
avcodec/cbs_av1: infer frame_type when parsing a show_existing_frame frame
Reviewed-by: Mark Thompson <sw@jkqxz.net>
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/cbs_av1_syntax_template.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/cbs_av1_syntax_template.c b/libavcodec/cbs_av1_syntax_template.c index dedd549572..28d9ab9817 100644 --- a/libavcodec/cbs_av1_syntax_template.c +++ b/libavcodec/cbs_av1_syntax_template.c @@ -1299,6 +1299,7 @@ static int FUNC(uncompressed_header)(CodedBitstreamContext *ctx, RWContext *rw, else infer(refresh_frame_flags, 0); + infer(frame_type, frame->frame_type); infer(frame_width_minus_1, frame->upscaled_width - 1); infer(frame_height_minus_1, frame->frame_height - 1); infer(render_width_minus_1, frame->render_width - 1); |