changeset 1998:d3378988a98e

disabled packet limit
author arpi
date Thu, 27 Sep 2001 20:36:19 +0000
parents 4346f47d8d7c
children 0c45328c9f8b
files demux_avi.c
diffstat 1 files changed, 13 insertions(+), 13 deletions(-) [+]
line wrap: on
line diff
--- a/demux_avi.c	Thu Sep 27 19:24:51 2001 +0000
+++ b/demux_avi.c	Thu Sep 27 20:36:19 2001 +0000
@@ -51,7 +51,7 @@
   }
   if(id!=mmioFOURCC('J','U','N','K')){
      // unknown
-     mp_dbg(MSGT_DEMUX,MSGL_DBG2,"Unknown chunk: %.4s (%X)\n",(char *) &id,id);
+     mp_msg(MSGT_DEMUX,MSGL_DBG2,"Unknown chunk: %.4s (%X)\n",(char *) &id,id);
   }
   return NULL;
 }
@@ -219,12 +219,12 @@
     }
   }
   ret=demux_avi_read_packet(demux,id,len,priv->idx_pos-1,flags);
-      if(!ret && priv->skip_video_frames<=0)
-        if(--max_packs==0){
-          demux->stream->eof=1;
-          mp_msg(MSGT_DEMUX,MSGL_ERR,MSGTR_DoesntContainSelectedStream);
-          return 0;
-        }
+//      if(!ret && priv->skip_video_frames<=0)
+//        if(--max_packs==0){
+//          demux->stream->eof=1;
+//          mp_msg(MSGT_DEMUX,MSGL_ERR,MSGTR_DoesntContainSelectedStream);
+//          return 0;
+//        }
 } while(ret!=1);
   return 1;
 }
@@ -296,12 +296,12 @@
     if(idx->dwFlags&AVIIF_KEYFRAME) flags=1;
   } else return 0;
   ret=demux_avi_read_packet(demux,id,len,idx_pos,flags);
-      if(!ret && priv->skip_video_frames<=0)
-        if(--max_packs==0){
-          demux->stream->eof=1;
-          mp_msg(MSGT_DEMUX,MSGL_ERR,MSGTR_DoesntContainSelectedStream);
-          return 0;
-        }
+//      if(!ret && priv->skip_video_frames<=0)
+//        if(--max_packs==0){
+//          demux->stream->eof=1;
+//          mp_msg(MSGT_DEMUX,MSGL_ERR,MSGTR_DoesntContainSelectedStream);
+//          return 0;
+//        }
 } while(ret!=1);
   return 1;
 }