author | Jian Wang <jian.wang@amlogic.com> | 2017-03-28 13:24:29 (GMT) |
---|---|---|
committer | Jian Wang <jian.wang@amlogic.com> | 2017-03-28 13:24:29 (GMT) |
commit | 6b09eb44081de9d57a24131a5399227ebbb44805 (patch) | |
tree | 3aaa15f36fc95063c4c17ed8510c512046215cdc | |
parent | f0b764c03d98469613662ee12f7109195794ba28 (diff) | |
download | ffmpeg-6b09eb44081de9d57a24131a5399227ebbb44805.zip ffmpeg-6b09eb44081de9d57a24131a5399227ebbb44805.tar.gz ffmpeg-6b09eb44081de9d57a24131a5399227ebbb44805.tar.bz2 |
PD#141256: modify DURATION_MAX_RETRY to 6 from newer ffmpeg
Change-Id: Ic3839c6a2acc7179a08c5e8c22dfdac81dafbf94
-rw-r--r--[-rwxr-xr-x] | libavformat/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c index dbadc4f..5211ffd 100755..100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -2267,7 +2267,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) |