You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02: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:
committed by
Michael Niedermayer
parent
4ebe40ef64
commit
be852803eb
@@ -1186,8 +1186,7 @@ static void update_initial_durations(AVFormatContext *s, AVStream *st,
|
|||||||
pktl->pkt.dts = cur_dts;
|
pktl->pkt.dts = cur_dts;
|
||||||
if (!st->internal->avctx->has_b_frames)
|
if (!st->internal->avctx->has_b_frames)
|
||||||
pktl->pkt.pts = cur_dts;
|
pktl->pkt.pts = cur_dts;
|
||||||
// if (st->codecpar->codec_type != AVMEDIA_TYPE_AUDIO)
|
pktl->pkt.duration = duration;
|
||||||
pktl->pkt.duration = duration;
|
|
||||||
} else
|
} else
|
||||||
break;
|
break;
|
||||||
cur_dts = pktl->pkt.dts + pktl->pkt.duration;
|
cur_dts = pktl->pkt.dts + pktl->pkt.duration;
|
||||||
|
Reference in New Issue
Block a user