aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/cbs_av1.h
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2018-12-20 12:26:43 -0300
committerJames Almer <jamrial@gmail.com>2018-12-20 17:57:10 -0300
commit064f9505f49816650516c7afe93e43d8f547891a (patch)
treeca34074ec9c7699d35e40ace09d72512986cf9ad /libavcodec/cbs_av1.h
parent1b4c01631b1a2019e392eaf011f1e3f15a97fb77 (diff)
downloadffmpeg-064f9505f49816650516c7afe93e43d8f547891a.tar.gz
avcodec/cbs_av1: fix parsing delta_frame_id_minus1
delta_frame_id_minus1 is not a single value in the bitstream, and can store values up to 17 bits wide. Fixes parsing files with frame ids. Reviewed-by: Mark Thompson <sw@jkqxz.net> Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/cbs_av1.h')
-rw-r--r--libavcodec/cbs_av1.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/cbs_av1.h b/libavcodec/cbs_av1.h
index 84622ed189..71ceff9427 100644
--- a/libavcodec/cbs_av1.h
+++ b/libavcodec/cbs_av1.h
@@ -170,7 +170,7 @@ typedef struct AV1RawFrameHeader {
uint8_t last_frame_idx;
uint8_t golden_frame_idx;
int8_t ref_frame_idx[AV1_REFS_PER_FRAME];
- uint8_t delta_frame_id_minus1;
+ uint32_t delta_frame_id_minus1[AV1_REFS_PER_FRAME];
uint8_t allow_high_precision_mv;
uint8_t is_filter_switchable;