diff --git a/libavcodec/av1_parse.h b/libavcodec/av1_parse.h index f3d932bc5507e0c433435e2ff970cbd93006ff79..01bcd646c2ea85778d0ba16d6e1fe63ee872e4a0 100644 --- a/libavcodec/av1_parse.h +++ b/libavcodec/av1_parse.h @@ -146,7 +146,9 @@ static inline int get_obu_bit_length(const uint8_t *buf, int size, int type) int v; /* There are no trailing bits on these */ - if (type == AV1_OBU_TILE_GROUP || type == AV1_OBU_FRAME) { + if (type == AV1_OBU_TILE_GROUP || + type == AV1_OBU_TILE_LIST || + type == AV1_OBU_FRAME) { if (size > INT_MAX / 8) return AVERROR(ERANGE); else