diff --git a/libavformat/utils.c b/libavformat/utils.c index 72a3d5eeae..1c5614f874 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -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 /* only usable for MPEG-PS streams */