changeset 9273:b5b87f777d76

disable num_of_packets check, it's unreliable (multiple bugreports on -users)
author arpi
date Tue, 04 Feb 2003 15:45:45 +0000
parents 8efd3c0578b2
children 737c44487ebc
files libmpdemux/demux_real.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_real.c	Tue Feb 04 15:39:04 2003 +0000
+++ b/libmpdemux/demux_real.c	Tue Feb 04 15:45:45 2003 +0000
@@ -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 */