[MPlayer-cvslog] r29066 - trunk/stream/asf_streaming.c

compn subversion at mplayerhq.hu
Thu Mar 26 14:35:13 CET 2009


Author: compn
Date: Thu Mar 26 14:35:12 2009
New Revision: 29066

Log:
change close to closesocket, unifies close streaming code
patch by Francesco Cosoleto , cosoleto gmail com

Modified:
   trunk/stream/asf_streaming.c

Modified: trunk/stream/asf_streaming.c
==============================================================================
--- trunk/stream/asf_streaming.c	Thu Mar 26 13:41:43 2009	(r29065)
+++ trunk/stream/asf_streaming.c	Thu Mar 26 14:35:12 2009	(r29066)
@@ -149,7 +149,7 @@ extern int audio_id;
 extern int video_id;
 
 static void close_s(stream_t *stream) {
-	close(stream->fd);
+	closesocket(stream->fd);
 	stream->fd=-1;
 }
 


More information about the MPlayer-cvslog mailing list