mirror of
https://github.com/mpv-player/mpv
synced 2025-02-18 05:37:04 +00:00
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:
parent
a88366d475
commit
09d4f18010
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user