mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-24 12:09:55 +00:00
estimate_timings_from_pts: simplify filesize end check
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
5d944f58db
commit
424599c7cc
@ -2530,7 +2530,7 @@ static void estimate_timings_from_pts(AVFormatContext *ic, int64_t old_offset)
|
||||
av_free_packet(pkt);
|
||||
}
|
||||
} while (end_time == AV_NOPTS_VALUE &&
|
||||
filesize > (DURATION_MAX_READ_SIZE << retry) &&
|
||||
offset &&
|
||||
++retry <= DURATION_MAX_RETRY);
|
||||
|
||||
/* warn about audio/video streams which duration could not be estimated */
|
||||
|
Loading…
Reference in New Issue
Block a user