diff options
author | Nico Sabbi <nicola.sabbi@poste.it> | 2006-08-27 12:22:40 +0000 |
---|---|---|
committer | Nico Sabbi <nicola.sabbi@poste.it> | 2006-08-27 12:22:40 +0000 |
commit | ec6913d267cb728cf4009c4c5cf1bacda59cb044 (patch) | |
tree | 389a2ec2f4ee16cca47aaf3e2db1abab9b097af5 /libavformat | |
parent | 9e6c94707e9b1cbbf7c8c63b6235fe0d7739e07f (diff) | |
download | ffmpeg-ec6913d267cb728cf4009c4c5cf1bacda59cb044.tar.gz |
scan s->probesize packets instead of MAX_SCAN_PACKETS (that is still the default value)
Originally committed as revision 6110 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/mpegts.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c index cce6e7545a..f88bdf5cc6 100644 --- a/libavformat/mpegts.c +++ b/libavformat/mpegts.c @@ -1203,7 +1203,7 @@ goto_auto_guess: 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 @@ goto_auto_guess: 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 @@ goto_auto_guess: 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 */ |