avcodec/iff: change delta l offset to uint32_t
authorPaul B Mahol <onemda@gmail.com>
Fri, 13 May 2016 12:01:12 +0000 (14:01 +0200)
committerPaul B Mahol <onemda@gmail.com>
Fri, 13 May 2016 12:02:59 +0000 (14:02 +0200)
Signed-off-by: Paul B Mahol <onemda@gmail.com>
libavcodec/iff.c

index 8065210..9875b26 100644 (file)
@@ -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;