[Ffmpeg-devel] Network patch for MingW users
Sun Feb 4 21:36:24 CET 2007
Klaas-Pieter Vlieg wrote:
> Attached is a ffmpeg network patch for MingW users.
> Credits go to Michael Kohn (http://www.mikekohn.net/stuff/ffmpeg.php).
Attached patch (also based on Michael Kohn's patch) is simpler.
winsock2.h must be included from network.h, and not from os_support.h,
because doing so makes every .o file in libavformat to be greater than
check_stdcall_func will also be used by the libfaac, libfaad and vfw32
check on configure (both on Windows and Linux) on another patch, cutting
down much of the checks.
It should make inet_aton work depending on inet_addr on BeOS too (for
those versions that have it).
Still missing the translations from winsock errors to POSIX errors. If
there are no winsock errors, all goes well. If there is any error,
FFmpeg might hang waiting for a POSIX error number.
Tested on Windows and Linux.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the ffmpeg-devel