diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-10-23 18:53:48 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-10-23 19:31:31 +0400 |
commit | 31cdf6002ae56094b2ed11851f2d877acd6cf44f (patch) | |
tree | f410e2ac0555f55dd08cf0087510316d39a486f2 /libavformat | |
parent | d8f27eceaabf9746d863c9f880310015908bf86d (diff) |
lavf: increase retries to guess duration from pts by 1
This fixes finding the duration for one TS file
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c index f27104e75a..7a734d4b1b 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -2140,7 +2140,7 @@ static void estimate_timings_from_bit_rate(AVFormatContext *ic) } #define DURATION_MAX_READ_SIZE 250000 -#define DURATION_MAX_RETRY 3 +#define DURATION_MAX_RETRY 4 /* only usable for MPEG-PS streams */ static void estimate_timings_from_pts(AVFormatContext *ic, int64_t old_offset) |