# HG changeset patch # User rsf # Date 1049748084 0 # Node ID 480bfff4804cc8eea6278756762384ff064decfd # Parent eea06a971711b3151578f303091922f6291874f8 Reapplied the patch that I had originally made in revision 1.53. (Someone apparently overlooked it when they checked in a subsequent patch) diff -r eea06a971711 -r 480bfff4804c libmpdemux/stream.c --- a/libmpdemux/stream.c Mon Apr 07 19:37:19 2003 +0000 +++ b/libmpdemux/stream.c Mon Apr 07 20:41:24 2003 +0000 @@ -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: