[Ffmpeg-devel] Network patch for MingW users
Tue Feb 20 11:18:15 CET 2007
Michel Bardiaux said:
> M?ns Rullg?rd wrote:
>> Michel Bardiaux said:
>>> Fran?ois Revol wrote:
>>>>>> +#ifdef __MINGW32__
>>>>>> + init_winsock();
>>>>> Aaaaiiiieeee! NO MORE OF THIS. PLEASE.
>>>> Also that's totally definitely non threadsafe.
>>> Why? AFAIK WSAStartup is threadsafe. See e.g.
>> Of more interest is what happens if WSAStartup() is called more than once.
>> Likewise for WSACleanup()
> What do you mean by that? That WSAStartup should not be called more than
> once? It can.
Good. I wasn't sure. Do calls to WSAStartup/WSACleanup nest properly too?
mans at mansr.com
More information about the ffmpeg-devel