mirror of https://git.ffmpeg.org/ffmpeg.git
avformat/mvdec: Use 64bit for ret to avoid overflow
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 26c0cc154e
)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
4ef32aa2a6
commit
96807933d8
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue