Mercurial > mplayer.hg
diff libmpdemux/asf_mmst_streaming.c @ 12077:e200b0e11e9c
Fix hanging at end of mms:// streams.
Patch by adland
author | rtognimp |
---|---|
date | Sun, 28 Mar 2004 14:44:49 +0000 |
parents | ec3dac7d17a0 |
children | 6d4212840048 |
line wrap: on
line diff
--- a/libmpdemux/asf_mmst_streaming.c Sun Mar 28 11:23:53 2004 +0000 +++ b/libmpdemux/asf_mmst_streaming.c Sun Mar 28 14:44:49 2004 +0000 @@ -425,7 +425,8 @@ 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;