[Ffmpeg-devel] Network patch for MingW users
Ramiro Polla
angustia
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
400 kb.
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.
Ramiro Polla
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mingw_networking_2.diff
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070204/0289c593/attachment.txt>
More information about the ffmpeg-devel
mailing list