You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
lavf utils: Fix bad indentation.
This commit is contained in:
@@ -1980,13 +1980,14 @@ static void estimate_timings_from_pts(AVFormatContext *ic, int64_t old_offset)
|
||||
(st->start_time != AV_NOPTS_VALUE ||
|
||||
st->first_dts != AV_NOPTS_VALUE)) {
|
||||
duration = end_time = pkt->pts;
|
||||
if (st->start_time != AV_NOPTS_VALUE) duration -= st->start_time;
|
||||
else duration -= st->first_dts;
|
||||
if (st->start_time != AV_NOPTS_VALUE)
|
||||
duration -= st->start_time;
|
||||
else
|
||||
duration -= st->first_dts;
|
||||
if (duration < 0)
|
||||
duration += 1LL<<st->pts_wrap_bits;
|
||||
if (duration > 0) {
|
||||
if (st->duration == AV_NOPTS_VALUE ||
|
||||
st->duration < duration)
|
||||
if (st->duration == AV_NOPTS_VALUE || st->duration < duration)
|
||||
st->duration = duration;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user