changeset 397:a54238fbff24

max packetsize changed back to 4096 - solved DVD problems
author arpi_esp
date Sat, 14 Apr 2001 03:10:48 +0000
parents b5748246482d
children f5918fc8df10
files demux_mpg.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/demux_mpg.c	Fri Apr 13 23:37:40 2001 +0000
+++ b/demux_mpg.c	Sat Apr 14 03:10:48 2001 +0000
@@ -31,7 +31,7 @@
 
   len=stream_read_word(demux->stream);
   if(verbose>=3)  printf("PACKET len=%d",len);
-  if(len==0 || len>224*1024) return -2;  // invalid packet !!!!!!
+  if(len==0 || len>4096) return -2;  // invalid packet !!!!!!
 
   while(len>0){   // Skip stuFFing bytes
     c=stream_read_char(demux->stream);--len;
@@ -125,7 +125,7 @@
   }
   if(verbose>=3) printf(" => len=%d\n",len);
 
-  if(len<=0 || len>224*1024) return -1;  // Invalid packet size
+  if(len<=0 || len>4096) return -1;  // Invalid packet size
   
   if(id>=0x1C0 && id<=0x1DF){
     // mpeg audio