summaryrefslogtreecommitdiff
path: root/libavformat/omadec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-02-01 19:36:36 +0100
committerMichael Niedermayer <michaelni@gmx.at>2015-02-01 20:00:10 +0100
commitf1f7f5903ab49b84789af5341492afbaba808a70 (patch)
treec8dd48097ff4ae5e47f158d6b79d546c01d8182b /libavformat/omadec.c
parent465f3705b1ef832fd6904750d018f81f9044f3ab (diff)
avformat/omadec: fix number suffix
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/omadec.c')
-rw-r--r--libavformat/omadec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/omadec.c b/libavformat/omadec.c
index 9f3d3aa860..42954130bc 100644
--- a/libavformat/omadec.c
+++ b/libavformat/omadec.c
@@ -174,7 +174,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;