[FFmpeg-cvslog] avformat/omadec: fix number suffix

Michael Niedermayer git at videolan.org
Tue Feb 17 19:49:54 CET 2015


ffmpeg | branch: release/2.2 | Michael Niedermayer <michaelni at gmx.at> | Sun Feb  1 19:36:36 2015 +0100| [cd5c78c804d12a1bd29917d6149d715d2273a9a2] | committer: Michael Niedermayer

avformat/omadec: fix number suffix

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
(cherry picked from commit f1f7f5903ab49b84789af5341492afbaba808a70)

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

 libavformat/omadec.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/omadec.c b/libavformat/omadec.c
index 7542eb1..3ea2ec1 100644
--- a/libavformat/omadec.c
+++ b/libavformat/omadec.c
@@ -172,7 +172,7 @@ static int nprobe(AVFormatContext *s, uint8_t *enc_header, unsigned size,
     taglen  = AV_RB32(&enc_header[pos + 32]);
     datalen = AV_RB32(&enc_header[pos + 36]) >> 4;
 
-    pos += 44L + taglen;
+    pos += 44LL + taglen;
 
     if (pos + (((uint64_t)datalen) << 4) > size)
         return -1;



More information about the ffmpeg-cvslog mailing list