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
This commit is contained in:
compn 2009-03-26 13:35:12 +00:00
parent a88366d475
commit 09d4f18010
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}