diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2009-04-12 09:04:12 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2009-04-12 09:04:12 +0000 |
commit | c950c25ac08f039951db64c10d98fbb4479bbb59 (patch) | |
tree | e41eb582794419f1148285c2c7e56bfdd5c916f6 /libavformat | |
parent | c96495e75ce7cb314c9cae7ee5bb74e260147c4a (diff) | |
download | ffmpeg-c950c25ac08f039951db64c10d98fbb4479bbb59.tar.gz |
remove useless wrapper
Originally committed as revision 18465 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/mpegts.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c index ab3d4e8d5c..67b0a6f5be 100644 --- a/libavformat/mpegts.c +++ b/libavformat/mpegts.c @@ -789,13 +789,6 @@ static void sdt_cb(MpegTSFilter *filter, const uint8_t *section, int section_len } } -/* scan services in a transport stream by looking at the SDT */ -static void mpegts_scan_sdt(MpegTSContext *ts) -{ - mpegts_open_section_filter(ts, SDT_PID, - sdt_cb, ts, 1); -} - static int64_t get_pts(const uint8_t *p) { int64_t pts = (int64_t)((p[0] >> 1) & 0x07) << 30; @@ -1264,7 +1257,8 @@ static int mpegts_read_header(AVFormatContext *s, /* first do a scaning to get all the services */ url_fseek(pb, pos, SEEK_SET); - mpegts_scan_sdt(ts); + + mpegts_open_section_filter(ts, SDT_PID, sdt_cb, ts, 1); mpegts_open_section_filter(ts, PAT_PID, pat_cb, ts, 1); |