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

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
This commit is contained in:
rsf 2003-04-07 20:44:06 +00:00
parent bb816d137a
commit 930f3aa044

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 stream_fill_buffer(stream_t *s){
int len; 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){ switch(s->type){
#ifdef LIBSMBCLIENT #ifdef LIBSMBCLIENT
case STREAMTYPE_SMB: case STREAMTYPE_SMB: