OSDN Git Service

reindent
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>
Wed, 10 Mar 2010 09:19:14 +0000 (09:19 +0000)
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>
Wed, 10 Mar 2010 09:19:14 +0000 (09:19 +0000)
Originally committed as revision 22427 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/mpegtsenc.c

index b818964..0cd4f41 100644 (file)
@@ -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;