diff --git a/libmpdemux/stream.c b/libmpdemux/stream.c index 3afa3bad52..7fde82b3e1 100644 --- a/libmpdemux/stream.c +++ b/libmpdemux/stream.c @@ -163,7 +163,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->eof) { s->buf_pos = s->buf_len = 0; return 0; } switch(s->type){ #ifdef LIBSMBCLIENT case STREAMTYPE_SMB: