lavf utils: Fix bad indentation.

pull/2/head
Alex Converse 13 years ago
parent 6c7ee2f7db
commit 7e6029f98a
  1. 9
      libavformat/utils.c

@ -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;
}
}

Loading…
Cancel
Save