[FFmpeg-cvslog] r19508 - in trunk: configure libavcodec/8bps.c libavcodec/cscd.c libavcodec/flacenc.c libavcodec/flicvideo.c libavcodec/h264.c libavcodec/huffyuv.c libavcodec/imgconvert.c libavcodec/indeo3.c libav...

Ramiro Polla ramiro.polla
Tue Jul 28 07:10:22 CEST 2009


On Sun, Jul 26, 2009 at 9:20 AM, mru<subversion at mplayerhq.hu> wrote:
> Author: mru
> Date: Sun Jul 26 14:20:04 2009
> New Revision: 19508
>
> Log:
> Replace WORDS_BIGENDIAN with HAVE_BIGENDIAN
[...]
> Modified: trunk/libavutil/pixfmt.h
> ==============================================================================
> --- trunk/libavutil/pixfmt.h ? ?Fri Jul 24 23:28:44 2009 ? ? ? ?(r19507)
> +++ trunk/libavutil/pixfmt.h ? ?Sun Jul 26 14:20:04 2009 ? ? ? ?(r19508)
> @@ -126,7 +126,7 @@ enum PixelFormat {
> ? ? PIX_FMT_NB, ? ? ? ?///< number of pixel formats, DO NOT USE THIS if you want to link with shared libav* because the number of formats might differ between versions
> ?};
>
> -#ifdef WORDS_BIGENDIAN
> +#if HAVE_BIGENDIAN
> ?# ? define PIX_FMT_NE(be, le) PIX_FMT_##be
> ?#else
> ?# ? define PIX_FMT_NE(be, le) PIX_FMT_##le

This makes an installed header use HAVE_BIGENDIAN.



More information about the ffmpeg-cvslog mailing list