diff options
author | James Almer <jamrial@gmail.com> | 2020-08-23 22:23:56 +0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2020-09-06 04:30:07 +0300 |
commit | f73c4487ef0d4acf96d322043a6990b04f1012e5 (patch) | |
tree | a73b23348810410476c94efec94e24af01d224f1 /libavcodec | |
parent | f070c53c7a5057248e6a4819dc967fa2c87600b0 (diff) |
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)
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 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; } |