aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/mov.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-10-17 17:20:12 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-10-17 17:50:14 +0200
commita4fe661157b22a353ecce51f5c717c42c8fe00b0 (patch)
tree941e32b3e2487037277824cfbec124122107e09e /libavformat/mov.c
parent9b762e2cba1673e56091ed82bbd3589ea1c9c448 (diff)
downloadffmpeg-a4fe661157b22a353ecce51f5c717c42c8fe00b0.tar.gz
mov_probe: fix integer overflows
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/mov.c')
-rw-r--r--libavformat/mov.c2
1 files changed, 1 insertions, 1 deletions
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;