Index: libmpdemux/demux_ts.c =================================================================== --- libmpdemux/demux_ts.c (revision 32345) +++ libmpdemux/demux_ts.c (working copy) @@ -839,7 +839,7 @@ if(audio_found && (param->apid == es.pid) && (! video_found)) num_packets++; - if((has_tables==0) && (video_found && audio_found) && (pos >= 1000000)) + if((has_tables==0) && (video_found && audio_found) && (pos >= TS_MAX_PROBE_SIZE * 2)) break; } }