Commit 17ea1cd5 authored by Paul B Mahol's avatar Paul B Mahol

avcodec/iff: change delta l offset to uint32_t

Signed-off-by: 's avatarPaul B Mahol <onemda@gmail.com>
parent ed3a0254
......@@ -1196,7 +1196,7 @@ static void decode_delta_l(uint8_t *dst,
bytestream2_init(&ogb, buf + 2 * poff1, buf_end - (buf + 2 * poff1));
while ((bytestream2_peek_be16(&ogb)) != 0xFFFF) {
uint16_t offset = bytestream2_get_be16(&ogb);
uint32_t offset = bytestream2_get_be16(&ogb);
int16_t cnt = bytestream2_get_be16(&ogb);
uint16_t data;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment