diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2012-04-26 11:07:41 -0400 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2012-05-03 16:28:08 -0400 |
commit | e5356ebf2216918ad6351d4caa8b58c881c4b0ea (patch) | |
tree | 3265c965e5f3b32b243c4da221f9a0451d9608cd | |
parent | 8916f1fbcba0f2a3927752ddd0b6ea6e209c6698 (diff) | |
download | ffmpeg-e5356ebf2216918ad6351d4caa8b58c881c4b0ea.tar.gz |
cosmetics: indentation
-rw-r--r-- | libavformat/utils.c | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c index e867b73017..658da8f951 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -987,15 +987,16 @@ 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) - pkt->pts = pkt->dts; - 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) - st->cur_dts = pkt->pts + duration; + /* presentation is not delayed : PTS and DTS are the same */ + 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) + pkt->pts = st->cur_dts; + pkt->dts = pkt->pts; + if (pkt->pts != AV_NOPTS_VALUE) + st->cur_dts = pkt->pts + duration; } } } |