Mercurial > libavformat.hg
changeset 4866:ea96a592b4a3 libavformat
remove useless wrapper
author | bcoudurier |
---|---|
date | Sun, 12 Apr 2009 08:52:16 +0000 |
parents | 1273a2b9c32a |
children | 9ff7c0af5971 |
files | mpegts.c |
diffstat | 1 files changed, 1 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/mpegts.c Sun Apr 12 08:49:20 2009 +0000 +++ b/mpegts.c Sun Apr 12 08:52:16 2009 +0000 @@ -711,12 +711,6 @@ mpegts_close_filter(ts, filter); } -static void mpegts_set_service(MpegTSContext *ts) -{ - mpegts_open_section_filter(ts, PAT_PID, - pat_cb, ts, 1); -} - static void sdt_cb(MpegTSFilter *filter, const uint8_t *section, int section_len) { MpegTSContext *ts = filter->u.section_filter.opaque; @@ -1272,7 +1266,7 @@ url_fseek(pb, pos, SEEK_SET); mpegts_scan_sdt(ts); - mpegts_set_service(ts); + mpegts_open_section_filter(ts, PAT_PID, pat_cb, ts, 1); handle_packets(ts, s->probesize); /* if could not find service, enable auto_guess */