[FFmpeg-cvslog] avcodec/iff: change delta l offset to uint32_t

Paul B Mahol git at videolan.org
Fri May 13 14:03:43 CEST 2016


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Fri May 13 14:01:12 2016 +0200| [17ea1cd55960851f2e3e637ddf7fc5d35086a452] | committer: Paul B Mahol

avcodec/iff: change delta l offset to uint32_t

Signed-off-by: Paul B Mahol <onemda at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=17ea1cd55960851f2e3e637ddf7fc5d35086a452
---

 libavcodec/iff.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/iff.c b/libavcodec/iff.c
index 8065210..9875b26 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;
 



More information about the ffmpeg-cvslog mailing list