mov_probe: fix integer overflows

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2012-10-17 17:20:12 +02:00
parent 9b762e2cba
commit a4fe661157

View File

@ -2858,7 +2858,7 @@ static int mov_read_default(MOVContext *c, AVIOContext *pb, MOVAtom atom)
static int mov_probe(AVProbeData *p)
{
unsigned int offset;
int64_t offset;
uint32_t tag;
int score = 0;