changeset 9826:99b9b8eeecaf

10L NULL == 0 == stdin
author albeu
date Fri, 04 Apr 2003 15:41:00 +0000
parents 6d6ba8e88e57
children d179dbc45935
files libmpdemux/stream.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/stream.c	Fri Apr 04 15:39:51 2003 +0000
+++ b/libmpdemux/stream.c	Fri Apr 04 15:41:00 2003 +0000
@@ -163,7 +163,7 @@
 
 int stream_fill_buffer(stream_t *s){
   int len;
-  if (s->fd == NULL || s->eof) { s->buf_pos = s->buf_len = 0; return 0; }
+  if (s->eof) { s->buf_pos = s->buf_len = 0; return 0; }
   switch(s->type){
 #ifdef LIBSMBCLIENT
   case STREAMTYPE_SMB: