Browse Source

avformat/omadec: fix number suffix

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.6
Michael Niedermayer 10 years ago
parent
commit
f1f7f5903a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/omadec.c

+ 1
- 1
libavformat/omadec.c View File

@@ -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;


Loading…
Cancel
Save