[FFmpeg-devel] [PATCH] Fix posix_memalign() usage when libavutil is compiled outside FFmpeg.

Michael Niedermayer michaelni at gmx.at
Thu May 12 15:47:36 CEST 2011

On Thu, May 12, 2011 at 04:40:23PM +0300, Ivan Kalvachev wrote:
> To use posix_memalign() "#define _XOPEN_SOURCE 600" have to be defined.
> FFmpeg configure defines it from the command line through config.mak,
> but when libavutil is used outside of FFmpeg the define is missing.
> (commit it right away if ok)

applied locally, will push it when i push from that tree the next time


Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Rewriting code that is poorly written but fully understood is good.
Rewriting code that one doesnt understand is a sign that one is less smart
then the original author, trying to rewrite it will not make it better.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110512/279e58e7/attachment.asc>

More information about the ffmpeg-devel mailing list