summaryrefslogtreecommitdiffstats
path: root/stream
diff options
context:
space:
mode:
authorcompn <compn@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-03-26 13:35:12 +0000
committercompn <compn@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-03-26 13:35:12 +0000
commit09d4f18010278fb2cb15e57a775c79906be2e04a (patch)
tree382a27d8c519f0a13e6bc90cdb87f63cc06f29d5 /stream
parenta88366d47533d0d0bd19c4a4988c49d840d04549 (diff)
downloadmpv-09d4f18010278fb2cb15e57a775c79906be2e04a.tar.bz2
mpv-09d4f18010278fb2cb15e57a775c79906be2e04a.tar.xz
change close to closesocket, unifies close streaming code
patch by Francesco Cosoleto , cosoleto gmail com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29066 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream')
-rw-r--r--stream/asf_streaming.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stream/asf_streaming.c b/stream/asf_streaming.c
index 3057f06c05..c3e70a4aa2 100644
--- a/stream/asf_streaming.c
+++ b/stream/asf_streaming.c
@@ -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;
}