提交 ca9bbfb8 编写于 作者: J James Almer

avcodec/av1_parse: don't look for trailing bits in Tile List OBUs

The spec states there aren't any.
Signed-off-by: NJames Almer <jamrial@gmail.com>
上级 0815a22d
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册