diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-02-20 20:41:35 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-03-21 01:52:51 +0100 |
commit | 96807933d8a9d3fe4348a8e3d58ee2ea730fe455 (patch) | |
tree | 54e2262b3088d5d0879b0a4d49b6e9aee4410157 | |
parent | 4ef32aa2a69c13c326d1926a6aced3cb11e742f5 (diff) | |
download | ffmpeg-96807933d8a9d3fe4348a8e3d58ee2ea730fe455.tar.gz |
avformat/mvdec: Use 64bit for ret to avoid overflow
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 26c0cc154e06cb0064b3a3da49447ac44d82444f)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavformat/mvdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mvdec.c b/libavformat/mvdec.c index c8a5ebf119..7aa6452f66 100644 --- a/libavformat/mvdec.c +++ b/libavformat/mvdec.c @@ -408,7 +408,7 @@ static int mv_read_packet(AVFormatContext *avctx, AVPacket *pkt) AVStream *st = avctx->streams[mv->stream_index]; const AVIndexEntry *index; int frame = mv->frame[mv->stream_index]; - int ret; + int64_t ret; uint64_t pos; if (frame < st->nb_index_entries) { |