[FFmpeg-devel] MinGW network support

Alex Beregszaszi alex
Tue May 15 17:10:19 CEST 2007


Hi,

> > Attached you'll find a patch which was composed of patches from various
> > people in previous threads, probably (Alex Beregszaszi, Michael Kohn,
> > Ryan Martell, Klaas-Pieter Vlieg - my apologies if I've forgotten
> > anyone...).
> 
> I have a different, and imho much cleaner implementation. Will post in
> in a few hours.
> 
> Also note your patch wont be working. Setting EINPROGRESS to zero has no
> effect, as it is checking for WSAEINPROGRESS.

Just applied the sane changes to the SVN.

Attached patches are:

einprogress.diff:
Make tcp/http working on mingw. I dont think this patch is the best way.
Any ideas?

wsainit.diff:
I think this is the best way to do that crazy winsock init. This way
ffserver.c wont need an own implementation.

pollbug.diff:
FD_SETSIZE is broken on Windows, this workarounds its. This patch is
needed for ffserver.

--
Alex Beregszaszi

-------------- next part --------------
A non-text attachment was scrubbed...
Name: einprogress.diff
Type: text/x-patch
Size: 611 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070515/ef23a451/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pollbug.diff
Type: text/x-patch
Size: 481 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070515/ef23a451/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wsainit.diff
Type: text/x-patch
Size: 671 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070515/ef23a451/attachment-0002.bin>



More information about the ffmpeg-devel mailing list