mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-28 05:50:43 +00:00
libavformat/utils: Fix misleading indent
6f69f7a8bf
introduced this and it was part
of a very large merging of refactoring. Current behaviour is what is
reflected by this indenting change, however my understanding of timing
is such that this correct behaviour.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
4ebe40ef64
commit
be852803eb
@ -1186,8 +1186,7 @@ static void update_initial_durations(AVFormatContext *s, AVStream *st,
|
||||
pktl->pkt.dts = cur_dts;
|
||||
if (!st->internal->avctx->has_b_frames)
|
||||
pktl->pkt.pts = cur_dts;
|
||||
// if (st->codecpar->codec_type != AVMEDIA_TYPE_AUDIO)
|
||||
pktl->pkt.duration = duration;
|
||||
pktl->pkt.duration = duration;
|
||||
} else
|
||||
break;
|
||||
cur_dts = pktl->pkt.dts + pktl->pkt.duration;
|
||||
|
Loading…
Reference in New Issue
Block a user