Commit 0d232c70 authored by bcoudurier's avatar bcoudurier

reindent

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@22427 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 50944ed2
...@@ -450,14 +450,14 @@ static int mpegts_write_header(AVFormatContext *s) ...@@ -450,14 +450,14 @@ static int mpegts_write_header(AVFormatContext *s)
ts->mux_rate = s->mux_rate ? s->mux_rate : 1; ts->mux_rate = s->mux_rate ? s->mux_rate : 1;
if (ts->mux_rate > 1) { if (ts->mux_rate > 1) {
service->pcr_packet_period = (ts->mux_rate * PCR_RETRANS_TIME) / service->pcr_packet_period = (ts->mux_rate * PCR_RETRANS_TIME) /
(TS_PACKET_SIZE * 8 * 1000); (TS_PACKET_SIZE * 8 * 1000);
ts->sdt_packet_period = (ts->mux_rate * SDT_RETRANS_TIME) / ts->sdt_packet_period = (ts->mux_rate * SDT_RETRANS_TIME) /
(TS_PACKET_SIZE * 8 * 1000); (TS_PACKET_SIZE * 8 * 1000);
ts->pat_packet_period = (ts->mux_rate * PAT_RETRANS_TIME) / ts->pat_packet_period = (ts->mux_rate * PAT_RETRANS_TIME) /
(TS_PACKET_SIZE * 8 * 1000); (TS_PACKET_SIZE * 8 * 1000);
ts->cur_pcr = av_rescale(s->max_delay, 90000, AV_TIME_BASE); ts->cur_pcr = av_rescale(s->max_delay, 90000, AV_TIME_BASE);
} else { } else {
/* Arbitrary values, PAT/PMT could be written on key frames */ /* Arbitrary values, PAT/PMT could be written on key frames */
ts->sdt_packet_period = 200; ts->sdt_packet_period = 200;
......
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