[FFmpeg-devel] MinGW network support

Alex Beregszaszi alex
Tue May 15 17:12:37 CEST 2007


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

Correct explanation:

winsock is that broken, that it returns socket numbers like 1700, 1803,
1850. Without any linearity, nor starting at 0/1.

While FD_SETSIZE is set to a relative low number, this will cause the
poll not to work with those socket numbers, thus ffserver wont work. 

I know this is a bad hack, but winsock documentation itself prefers
this. Lol.

Alex Beregszaszi

More information about the ffmpeg-devel mailing list