[Mplayer-cvslog] CVS: main/libmpdemux demux_real.c,1.36,1.37

Arpi of Ize arpi at mplayerhq.hu
Tue Feb 4 16:45:48 CET 2003


Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var/tmp.root/cvs-serv24154

Modified Files:
	demux_real.c 
Log Message:
disable num_of_packets check, it's unreliable
(multiple bugreports on -users)


Index: demux_real.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/demux_real.c,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -r1.36 -r1.37
--- demux_real.c	12 Jan 2003 20:03:48 -0000	1.36
+++ demux_real.c	4 Feb 2003 15:45:45 -0000	1.37
@@ -363,12 +363,14 @@
 
   while(1){
 
+#if 0
     /* also don't check if no num_of_packets was defined in header */
     if ((priv->current_packet > priv->num_of_packets) &&
 	(priv->num_of_packets != -10)){
 	printf("num_of_packets reached!\n");
 	return 0; /* EOF */
     }
+#endif
 
     demuxer->filepos = stream_tell(demuxer->stream);
     version = stream_read_word(demuxer->stream); /* version */



More information about the MPlayer-cvslog mailing list