diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2010-03-10 12:19:14 +0300 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2010-03-10 12:19:14 +0300 |
commit | e3433702aebae94ab59496812e1a79f6384ec9d9 (patch) | |
tree | 1c18ec89887aa03498da0fbae326df255d29016c /libavformat | |
parent | cbfa66d0cf652f65a7daa9e17d5c41e00399a150 (diff) |
reindent
Originally committed as revision 22427 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/mpegtsenc.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/libavformat/mpegtsenc.c b/libavformat/mpegtsenc.c index b818964e21..0cd4f41d81 100644 --- a/libavformat/mpegtsenc.c +++ b/libavformat/mpegtsenc.c @@ -450,14 +450,14 @@ static int mpegts_write_header(AVFormatContext *s) ts->mux_rate = s->mux_rate ? s->mux_rate : 1; if (ts->mux_rate > 1) { - service->pcr_packet_period = (ts->mux_rate * PCR_RETRANS_TIME) / - (TS_PACKET_SIZE * 8 * 1000); - ts->sdt_packet_period = (ts->mux_rate * SDT_RETRANS_TIME) / - (TS_PACKET_SIZE * 8 * 1000); - ts->pat_packet_period = (ts->mux_rate * PAT_RETRANS_TIME) / - (TS_PACKET_SIZE * 8 * 1000); - - ts->cur_pcr = av_rescale(s->max_delay, 90000, AV_TIME_BASE); + service->pcr_packet_period = (ts->mux_rate * PCR_RETRANS_TIME) / + (TS_PACKET_SIZE * 8 * 1000); + ts->sdt_packet_period = (ts->mux_rate * SDT_RETRANS_TIME) / + (TS_PACKET_SIZE * 8 * 1000); + ts->pat_packet_period = (ts->mux_rate * PAT_RETRANS_TIME) / + (TS_PACKET_SIZE * 8 * 1000); + + ts->cur_pcr = av_rescale(s->max_delay, 90000, AV_TIME_BASE); } else { /* Arbitrary values, PAT/PMT could be written on key frames */ ts->sdt_packet_period = 200; |