1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00

utils: fix integer overflow with DURATION_MAX_READ_SIZE

Fixes CID703746
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2012-11-06 18:44:14 +01:00
parent 1c445f4b93
commit 2ca649f177

View File

@ -2155,7 +2155,7 @@ static void estimate_timings_from_bit_rate(AVFormatContext *ic)
} }
} }
#define DURATION_MAX_READ_SIZE 250000 #define DURATION_MAX_READ_SIZE 250000LL
#define DURATION_MAX_RETRY 4 #define DURATION_MAX_RETRY 4
/* only usable for MPEG-PS streams */ /* only usable for MPEG-PS streams */