[FFmpeg-cvslog] cosmetics: indentation
Justin Ruggles
git at videolan.org
Sat May 5 00:58:07 CEST 2012
ffmpeg | branch: master | Justin Ruggles <justin.ruggles at gmail.com> | Thu Apr 26 11:07:41 2012 -0400| [e5356ebf2216918ad6351d4caa8b58c881c4b0ea] | committer: Justin Ruggles
cosmetics: indentation
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e5356ebf2216918ad6351d4caa8b58c881c4b0ea
---
libavformat/utils.c | 19 ++++++++++---------
1 files changed, 10 insertions(+), 9 deletions(-)
diff --git a/libavformat/utils.c b/libavformat/utils.c
index e867b73..658da8f 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;
}
}
}
More information about the ffmpeg-cvslog
mailing list