Mercurial > mplayer.hg
changeset 12077:e200b0e11e9c
Fix hanging at end of mms:// streams.
Patch by adland
author | rtognimp |
---|---|
date | Sun, 28 Mar 2004 14:44:49 +0000 |
parents | 1309695bcdf4 |
children | 62705b2298ff |
files | libmpdemux/asf_mmst_streaming.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
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;