mirror of https://git.ffmpeg.org/ffmpeg.git
cosmetics: indentation
This commit is contained in:
parent
8916f1fbcb
commit
e5356ebf22
|
@ -988,13 +988,14 @@ static void compute_pkt_fields(AVFormatContext *s, AVStream *st,
|
|||
if (pkt->pts != AV_NOPTS_VALUE || pkt->dts != AV_NOPTS_VALUE ||
|
||||
duration) {
|
||||
/* presentation is not delayed : PTS and DTS are the same */
|
||||
if(pkt->pts == AV_NOPTS_VALUE)
|
||||
if (pkt->pts == AV_NOPTS_VALUE)
|
||||
pkt->pts = pkt->dts;
|
||||
update_initial_timestamps(s, pkt->stream_index, pkt->pts, pkt->pts);
|
||||
if(pkt->pts == AV_NOPTS_VALUE)
|
||||
update_initial_timestamps(s, pkt->stream_index, pkt->pts,
|
||||
pkt->pts);
|
||||
if (pkt->pts == AV_NOPTS_VALUE)
|
||||
pkt->pts = st->cur_dts;
|
||||
pkt->dts = pkt->pts;
|
||||
if(pkt->pts != AV_NOPTS_VALUE)
|
||||
if (pkt->pts != AV_NOPTS_VALUE)
|
||||
st->cur_dts = pkt->pts + duration;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue