[MPlayer-cvslog] r21552 - trunk/stream/asf_mmst_streaming.c
reimar
subversion at mplayerhq.hu
Sat Dec 9 19:57:48 CET 2006
Author: reimar
Date: Sat Dec 9 19:57:48 2006
New Revision: 21552
Modified:
trunk/stream/asf_mmst_streaming.c
Log:
Forgotten closesocket on error, patch by
Nicolas Baradakis <nbk sitadelle com>
Modified: trunk/stream/asf_mmst_streaming.c
==============================================================================
--- trunk/stream/asf_mmst_streaming.c (original)
+++ trunk/stream/asf_mmst_streaming.c Sat Dec 9 19:57:48 2006
@@ -626,7 +626,10 @@
asf_header_len = get_header (s, asf_header, stream->streaming_ctrl);
// mp_msg(MSGT_NETWORK,MSGL_INFO,"---------------------------------- asf_header %d\n",asf_header);
- if (asf_header_len==0) return -1; //error reading header
+ if (asf_header_len==0) { //error reading header
+ closesocket(s);
+ return -1;
+ }
packet_length = interp_header (asf_header, asf_header_len);
More information about the MPlayer-cvslog
mailing list