[Mplayer-cvslog] CVS: main/libmpdemux stream.c,1.59,1.60

Ross Finlayson CVS rsf at mplayerhq.hu
Mon Apr 7 22:41:49 CEST 2003


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

Modified Files:
	stream.c 
Log Message:
Reapplied the patch that I had originally made in revision 1.53.
(Someone apparently overlooked it when they checked in a subsequent patch)


Index: stream.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/stream.c,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -r1.59 -r1.60
--- stream.c	6 Apr 2003 16:36:17 -0000	1.59
+++ stream.c	7 Apr 2003 20:41:24 -0000	1.60
@@ -169,7 +169,7 @@
 
 int stream_fill_buffer(stream_t *s){
   int len;
-  if (s->eof) { s->buf_pos = s->buf_len = 0; return 0; }
+  if (s->fd == NULL || s->eof) { s->buf_pos = s->buf_len = 0; return 0; }
   switch(s->type){
 #ifdef LIBSMBCLIENT
   case STREAMTYPE_SMB:



More information about the MPlayer-cvslog mailing list