From a4fe661157b22a353ecce51f5c717c42c8fe00b0 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Wed, 17 Oct 2012 17:20:12 +0200 Subject: [PATCH] mov_probe: fix integer overflows Signed-off-by: Michael Niedermayer --- libavformat/mov.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/mov.c b/libavformat/mov.c index b817bc9561..7e653236ac 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -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;