[FFmpeg-cvslog] mov_probe: fix integer overflows

Michael Niedermayer git at videolan.org
Wed Oct 17 17:54:05 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Wed Oct 17 17:20:12 2012 +0200| [a4fe661157b22a353ecce51f5c717c42c8fe00b0] | committer: Michael Niedermayer

mov_probe: fix integer overflows

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a4fe661157b22a353ecce51f5c717c42c8fe00b0
---

 libavformat/mov.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/mov.c b/libavformat/mov.c
index b817bc9..7e65323 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;
 



More information about the ffmpeg-cvslog mailing list