Commit e5356ebf authored by Justin Ruggles's avatar Justin Ruggles

cosmetics: indentation

parent 8916f1fb
...@@ -987,15 +987,16 @@ static void compute_pkt_fields(AVFormatContext *s, AVStream *st, ...@@ -987,15 +987,16 @@ static void compute_pkt_fields(AVFormatContext *s, AVStream *st,
if (pkt->pts != AV_NOPTS_VALUE || pkt->dts != AV_NOPTS_VALUE || if (pkt->pts != AV_NOPTS_VALUE || pkt->dts != AV_NOPTS_VALUE ||
duration) { duration) {
/* presentation is not delayed : PTS and DTS are the same */ /* 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; pkt->pts = pkt->dts;
update_initial_timestamps(s, pkt->stream_index, pkt->pts, pkt->pts); update_initial_timestamps(s, pkt->stream_index, pkt->pts,
if(pkt->pts == AV_NOPTS_VALUE) pkt->pts);
pkt->pts = st->cur_dts; if (pkt->pts == AV_NOPTS_VALUE)
pkt->dts = pkt->pts; pkt->pts = st->cur_dts;
if(pkt->pts != AV_NOPTS_VALUE) pkt->dts = pkt->pts;
st->cur_dts = pkt->pts + duration; if (pkt->pts != AV_NOPTS_VALUE)
st->cur_dts = pkt->pts + duration;
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment