mirror of
https://github.com/mpv-player/mpv
synced 2025-02-07 15:41:55 +00:00
Fix hanging at end of mms:// streams.
Patch by adland git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12078 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
57b55283ff
commit
e294c7134c
@ -425,7 +425,8 @@ asf_mmst_streaming_read( int fd, char *buffer, int size, streaming_ctrl_t *strea
|
||||
if( ret<0 ) {
|
||||
printf("get_media_packet error : %s\n",strerror(errno));
|
||||
return -1;
|
||||
}
|
||||
} else if (ret==0) //EOF?
|
||||
return ret;
|
||||
}
|
||||
|
||||
len = stream_ctrl->buffer_size-stream_ctrl->buffer_pos;
|
||||
|
Loading…
Reference in New Issue
Block a user