[Ffmpeg-cvslog] r6110 - trunk/libavformat/mpegts.c

nicodvb subversion
Sun Aug 27 14:22:40 CEST 2006


Author: nicodvb
Date: Sun Aug 27 14:22:40 2006
New Revision: 6110

Modified:
   trunk/libavformat/mpegts.c

Log:
scan s->probesize packets instead of MAX_SCAN_PACKETS (that is still the default value)

Modified: trunk/libavformat/mpegts.c
==============================================================================
--- trunk/libavformat/mpegts.c	(original)
+++ trunk/libavformat/mpegts.c	Sun Aug 27 14:22:40 2006
@@ -1203,7 +1203,7 @@
             url_fseek(pb, pos, SEEK_SET);
             mpegts_scan_sdt(ts);
 
-            handle_packets(ts, MAX_SCAN_PACKETS);
+            handle_packets(ts, s->probesize);
 
             if (ts->nb_services <= 0) {
                 /* no SDT found, we try to look at the PAT */
@@ -1217,7 +1217,7 @@
                 url_fseek(pb, pos, SEEK_SET);
                 mpegts_scan_pat(ts);
 
-                handle_packets(ts, MAX_SCAN_PACKETS);
+                handle_packets(ts, s->probesize);
             }
 
             if (ts->nb_services <= 0) {
@@ -1241,7 +1241,7 @@
                 url_fseek(pb, pos, SEEK_SET);
                 mpegts_set_service(ts, sid, set_service_cb, ts);
 
-                handle_packets(ts, MAX_SCAN_PACKETS);
+                handle_packets(ts, s->probesize);
             }
             /* if could not find service, exit */
 




More information about the ffmpeg-cvslog mailing list