diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-10-17 17:20:12 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-10-17 17:50:14 +0200 |
commit | a4fe661157b22a353ecce51f5c717c42c8fe00b0 (patch) | |
tree | 941e32b3e2487037277824cfbec124122107e09e /libavformat/mov.c | |
parent | 9b762e2cba1673e56091ed82bbd3589ea1c9c448 (diff) | |
download | ffmpeg-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.c | 2 |
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; |