[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...

Måns Rullgård mans
Tue Jul 28 09:36:43 CEST 2009


Ramiro Polla <ramiro.polla at gmail.com> writes:

> 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.

And previously it was using WORDS_BIGENDIAN, which is just as bad.

-- 
M?ns Rullg?rd
mans at mansr.com



More information about the ffmpeg-cvslog mailing list