1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-12 09:56:30 +00:00

Reapplied the patch that I had originally made in revision 1.53.

(Someone apparently overlooked it when they checked in a subsequent patch)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9874 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
rsf 2003-04-07 20:41:24 +00:00
parent fef3203aa0
commit bb816d137a

View File

@ -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->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: