summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2016-05-13 14:01:12 +0200
committerPaul B Mahol <onemda@gmail.com>2016-05-13 14:02:59 +0200
commit17ea1cd55960851f2e3e637ddf7fc5d35086a452 (patch)
tree6ffa8e25186a8009f5456a819e1b7010808f9b9f
parented3a02547c71ac06fa27f17ad53116a74f78d927 (diff)
avcodec/iff: change delta l offset to uint32_t
Signed-off-by: Paul B Mahol <onemda@gmail.com>
-rw-r--r--libavcodec/iff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/iff.c b/libavcodec/iff.c
index 806521023d..9875b26408 100644
--- a/libavcodec/iff.c
+++ b/libavcodec/iff.c
@@ -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;