diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-08-21 17:28:11 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-08-21 17:49:37 +0200 |
commit | a9f3bb14ba8b303cf87c42b8fe7e423571176d54 (patch) | |
tree | 334477538187cd3cf17153ac8ff0bc728b4da8b6 /libavformat | |
parent | 7e4a4bda0e5a86c7b6b47d36c356499109688cc5 (diff) | |
download | ffmpeg-a9f3bb14ba8b303cf87c42b8fe7e423571176d54.tar.gz |
avformat/mov: use 64bit for size in mov_skip_multiple_stsd()
Fixes integer overflow
Fixes Ticket 3866
Reviewed-by: Christophe Gisquet <christophe.gisquet@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat')
-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 1255824264..b3eb28738e 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -1635,7 +1635,7 @@ static int mov_finalize_stsd_codec(MOVContext *c, AVIOContext *pb, static int mov_skip_multiple_stsd(MOVContext *c, AVIOContext *pb, int codec_tag, int format, - int size) + int64_t size) { int video_codec_id = ff_codec_get_id(ff_codec_movvideo_tags, format); |