Mercurial > mplayer.hg
changeset 21919:05223564b604
one more #if 1 removed
author | nicodvb |
---|---|
date | Mon, 15 Jan 2007 23:03:45 +0000 |
parents | ba25f87420b3 |
children | 65b2a9b3bd35 |
files | libmpdemux/demux_mpg.c |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpdemux/demux_mpg.c Mon Jan 15 21:39:30 2007 +0000 +++ b/libmpdemux/demux_mpg.c Mon Jan 15 23:03:45 2007 +0000 @@ -687,7 +687,7 @@ mp_msg(MSGT_DEMUX,MSGL_DBG3,"Opps... PES packet found: %03X\n",head); } else if(head==0x1B6) ++num_elementary_packets1B6; -#if 1 + if( ( (num_elementary_packets100>50 && num_elementary_packets101>50) || (num_elementary_packetsPES>50) ) && skipped>4000000){ mp_msg(MSGT_DEMUX,MSGL_V,"sync_mpeg_ps: seems to be ES/PES stream...\n"); @@ -699,7 +699,6 @@ demux->stream->eof=1; break; } -#endif } } while(ret!=1); mp_dbg(MSGT_DEMUX,MSGL_DBG2,"demux: %d bad bytes skipped\n",skipped);