fd_util: add function close_socket()

Wrap close(), use closesocket() on WIN32/WinSock.
This commit is contained in:
Max Kellermann
2011-09-19 21:04:19 +02:00
parent 77a56c7c5a
commit c476819cb1
7 changed files with 26 additions and 8 deletions

1
NEWS
View File

@@ -9,6 +9,7 @@ ver 0.16.5 (2010/??/??)
* decoder:
- ffmpeg: higher precision timestamps
- ffmpeg: don't require key frame for seeking
* WIN32: close sockets properly
ver 0.16.4 (2011/09/01)