[Mplayer-cvslog] CVS: main demux_mpg.c,1.2,1.3

GEREOFFY arpi_esp at users.sourceforge.net
Sat Apr 14 05:10:50 CEST 2001


Update of /cvsroot/mplayer/main
In directory usw-pr-cvs1:/tmp/cvs-serv8337

Modified Files:
	demux_mpg.c 
Log Message:
max packetsize changed back to 4096 - solved DVD problems

Index: demux_mpg.c
===================================================================
RCS file: /cvsroot/mplayer/main/demux_mpg.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** demux_mpg.c	2001/03/29 00:18:35	1.2
--- demux_mpg.c	2001/04/14 03:10:48	1.3
***************
*** 32,36 ****
    len=stream_read_word(demux->stream);
    if(verbose>=3)  printf("PACKET len=%d",len);
!   if(len==0 || len>224*1024) return -2;  // invalid packet !!!!!!
  
    while(len>0){   // Skip stuFFing bytes
--- 32,36 ----
    len=stream_read_word(demux->stream);
    if(verbose>=3)  printf("PACKET len=%d",len);
!   if(len==0 || len>4096) return -2;  // invalid packet !!!!!!
  
    while(len>0){   // Skip stuFFing bytes
***************
*** 126,130 ****
    if(verbose>=3) printf(" => len=%d\n",len);
  
!   if(len<=0 || len>224*1024) return -1;  // Invalid packet size
    
    if(id>=0x1C0 && id<=0x1DF){
--- 126,130 ----
    if(verbose>=3) printf(" => len=%d\n",len);
  
!   if(len<=0 || len>4096) return -1;  // Invalid packet size
    
    if(id>=0x1C0 && id<=0x1DF){


_______________________________________________
Mplayer-cvslog mailing list
Mplayer-cvslog at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-cvslog



More information about the MPlayer-cvslog mailing list