[FFmpeg-devel] [PATCH] UDP fixes join multicast group on Darwin arch

Ronald S. Bultje rsbultje
Fri Apr 17 18:10:48 CEST 2009


Hi,

On Fri, Apr 17, 2009 at 10:25 AM, S?bastien Zwickert
<szwickert at kezia.com> wrote:
> I've read this archive
> http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2008-August/051136.html?and
> i've added the _DARWIN_C_SOURCE definition at the top of the udp.c file.

Putting it on the top of a random source file seems wrong, you likely
want to place a check in ./configure (check_cflags), preferrably in an
actual UDP test so it's only enabled when needed (OS X) and not for
others...

Ronald



More information about the ffmpeg-devel mailing list