You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avformat/mvdec: Use 64bit for ret to avoid overflow
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user