[Mplayer-cvslog] CVS: main/libmpdemux asf_mmst_streaming.c, 1.17, 1.18
Roberto Togni CVS
syncmail at mplayerhq.hu
Sun Mar 28 16:44:51 CEST 2004
CVS change done by Roberto Togni CVS
Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var2/tmp/cvs-serv21279
Modified Files:
asf_mmst_streaming.c
Log Message:
Fix hanging at end of mms:// streams.
Patch by adland
Index: asf_mmst_streaming.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/asf_mmst_streaming.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- asf_mmst_streaming.c 8 Nov 2003 00:26:48 -0000 1.17
+++ asf_mmst_streaming.c 28 Mar 2004 14:44:49 -0000 1.18
@@ -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;
More information about the MPlayer-cvslog
mailing list