[Mplayer-cvslog] CVS: main playtreeparser.c,1.4,1.5

Alban Bedel CVS albeu at mplayer.dev.hu
Fri Feb 15 11:33:25 CET 2002


Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv14978

Modified Files:
	playtreeparser.c 
Log Message:
Fixed bug wich interrupt plaintext parsing before real eof


Index: playtreeparser.c
===================================================================
RCS file: /cvsroot/mplayer/main/playtreeparser.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- playtreeparser.c	3 Feb 2002 16:49:41 -0000	1.4
+++ playtreeparser.c	15 Feb 2002 10:33:03 -0000	1.5
@@ -160,8 +160,7 @@
       if(r < 0) {
 	mp_msg(MSGT_PLAYTREE,MSGL_ERR,"Can't read from stream r=%d\n",r);
 	return NULL;
-      } else if(r == 0)
-	eof = 1;
+      }
     p->buffer_end += r;
     p->buffer[p->buffer_end] = '\0';
     } else eof = 1;




More information about the MPlayer-cvslog mailing list