diff --git a/libavformat/utils.c b/libavformat/utils.c index 3413a7ff50..b116a45c75 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -2361,7 +2361,7 @@ static void estimate_timings_from_bit_rate(AVFormatContext *ic) } #define DURATION_MAX_READ_SIZE 250000LL -#define DURATION_MAX_RETRY 4 +#define DURATION_MAX_RETRY 6 /* only usable for MPEG-PS streams */ static void estimate_timings_from_pts(AVFormatContext *ic, int64_t old_offset)