From 930f3aa044801c5102daf8c79962a59b7c87900f Mon Sep 17 00:00:00 2001 From: rsf Date: Mon, 7 Apr 2003 20:44:06 +0000 Subject: Oops, I just noticed albeu's revision 1.58 - so I backed out the "s->fd == NULL" test once again. I'll need to come up with some other way of fixing this so that it works properly on Solaris... git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9875 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpdemux/stream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libmpdemux') diff --git a/libmpdemux/stream.c b/libmpdemux/stream.c index 786febe4da..6e3f0dae34 100644 --- a/libmpdemux/stream.c +++ b/libmpdemux/stream.c @@ -169,7 +169,7 @@ stream_t* open_stream_full(char* filename,int mode, char** options, int* file_fo 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->fd == NULL ||*/ s->eof) { s->buf_pos = s->buf_len = 0; return 0; } switch(s->type){ #ifdef LIBSMBCLIENT case STREAMTYPE_SMB: -- cgit v1.2.3