summaryrefslogtreecommitdiff
path: root/libavformat/mpegts.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2007-06-04 14:53:47 +0000
committerMichael Niedermayer <michaelni@gmx.at>2007-06-04 14:53:47 +0000
commit28f03d049411a052e499fa2d96febd1f9126e0c6 (patch)
tree82ad82c5cf9b6cf74c8e3b0e5c00a1a91e90b8bd /libavformat/mpegts.c
parentad39abcdd9018dd619b8cf308e4070ad87253a5e (diff)
fix indention
Originally committed as revision 9209 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/mpegts.c')
-rw-r--r--libavformat/mpegts.c15
1 files changed, 7 insertions, 8 deletions
diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c
index d2463e06d1..e5515a27f3 100644
--- a/libavformat/mpegts.c
+++ b/libavformat/mpegts.c
@@ -541,10 +541,10 @@ static void pmt_cb(MpegTSFilter *filter, const uint8_t *section, int section_len
pes= ts->pids[pid]->u.pes_filter.opaque;
st= pes->st;
}else{
- pes = add_pes_stream(ts, pid, stream_type);
- if (pes)
- st = new_pes_av_stream(pes, 0);
- break;
+ pes = add_pes_stream(ts, pid, stream_type);
+ if (pes)
+ st = new_pes_av_stream(pes, 0);
+ break;
}
default:
/* we ignore the other streams */
@@ -602,8 +602,7 @@ static void pat_cb(MpegTSFilter *filter, const uint8_t *section, int section_len
} else {
new_service(ts, sid, NULL, NULL);
ts->stop_parse--;
- mpegts_open_section_filter(ts, pmt_pid,
- pmt_cb, ts, 1);
+ mpegts_open_section_filter(ts, pmt_pid, pmt_cb, ts, 1);
}
}
/* not found */
@@ -1163,9 +1162,9 @@ static int mpegts_read_header(AVFormatContext *s,
goto do_pcr;
}
- mpegts_set_service(ts);
+ mpegts_set_service(ts);
- handle_packets(ts, s->probesize);
+ handle_packets(ts, s->probesize);
/* if could not find service, enable auto_guess */
ts->auto_guess = 1;