[FFmpeg-cvslog] r18463 - trunk/libavformat/mpegts.c
bcoudurier
subversion
Sun Apr 12 10:52:16 CEST 2009
Author: bcoudurier
Date: Sun Apr 12 10:52:16 2009
New Revision: 18463
Log:
remove useless wrapper
Modified:
trunk/libavformat/mpegts.c
Modified: trunk/libavformat/mpegts.c
==============================================================================
--- trunk/libavformat/mpegts.c Sun Apr 12 10:49:20 2009 (r18462)
+++ trunk/libavformat/mpegts.c Sun Apr 12 10:52:16 2009 (r18463)
@@ -711,12 +711,6 @@ static void pat_cb(MpegTSFilter *filter,
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 @@ static int mpegts_read_header(AVFormatCo
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 */
More information about the ffmpeg-cvslog
mailing list