New submission from Milenko <[email protected]>:

When using url_fdopen(), no call to WSAStartup() is done. Since there is no
url_fdclose() one has to use url_fclose() to cleanup everything. Unfortunatly
url_fclose() calls WSACleanup(). The result is an unusable winsock stack. 

The patch moves most of url_fclose() to url_fdclose(). Only the WSACleanup is
additionally called in url_fclose(). If some calls url_fdopen() he must cleanup
everything using url_fdclose().

----------
files: url_fdclose.patch
messages: 10000
priority: normal
status: new
substatus: new
title: WSACleanup patch for Windows
type: patch

________________________________________________
FFmpeg issue tracker <[email protected]>
<https://roundup.ffmpeg.org/issue1849>
________________________________________________

Attachment: url_fdclose.patch
Description: Binary data

Reply via email to