aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-02-01 19:36:36 +0100
committerMichael Niedermayer <michaelni@gmx.at>2015-02-17 19:43:18 +0100
commitcd5c78c804d12a1bd29917d6149d715d2273a9a2 (patch)
treefbc65c59d3056e948170f3e5b804d6c4ea0fc24a
parentab17d11310a926b78de3a24883a479fbed6cd862 (diff)
downloadffmpeg-cd5c78c804d12a1bd29917d6149d715d2273a9a2.tar.gz
avformat/omadec: fix number suffix
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit f1f7f5903ab49b84789af5341492afbaba808a70) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavformat/omadec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/omadec.c b/libavformat/omadec.c
index 7542eb1fd4..3ea2ec1468 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;