aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2020-08-23 16:23:56 -0300
committerJames Almer <jamrial@gmail.com>2020-09-05 22:30:07 -0300
commitf73c4487ef0d4acf96d322043a6990b04f1012e5 (patch)
treea73b23348810410476c94efec94e24af01d224f1
parentf070c53c7a5057248e6a4819dc967fa2c87600b0 (diff)
downloadffmpeg-f73c4487ef0d4acf96d322043a6990b04f1012e5.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> (cherry picked from commit 6c20207dceefa0452c65c719f0326cbc0177e827)
-rw-r--r--libavcodec/cbs_av1_syntax_template.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/cbs_av1_syntax_template.c b/libavcodec/cbs_av1_syntax_template.c
index ce6a66823c..9f8f46bc95 100644
--- a/libavcodec/cbs_av1_syntax_template.c
+++ b/libavcodec/cbs_av1_syntax_template.c
@@ -1280,6 +1280,7 @@ static int FUNC(uncompressed_header)(CodedBitstreamContext *ctx, RWContext *rw,
else
infer(refresh_frame_flags, 0);
+ infer(frame_type, frame->frame_type);
return 0;
}