[FFmpeg-devel] [PATCH] oma: fix build if memcmp() is a macro

Michael Niedermayer michaelni
Sat May 16 15:23:33 CEST 2009

On Sat, May 16, 2009 at 02:16:45PM +0100, Mans Rullgard wrote:
> Any C library function may be a macro, so compound literals
> passed to memcmp() must be surrounded by parens to avoid being
> split on commas.
> ---
>  libavformat/oma.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)


Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I hate to see young programmers poisoned by the kind of thinking
Ulrich Drepper puts forward since it is simply too narrow -- Roman Shaposhnik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090516/ea1f5249/attachment.pgp>

More information about the ffmpeg-devel mailing list