[FFmpeg-devel] [PATCH] bswap: add macros to byteswap constants

Sebastian Vater cdgs.basty
Thu Apr 29 16:47:12 CEST 2010


M?ns Rullg?rd a ?crit :
> Michael Niedermayer <michaelni at gmx.at> writes:
>
>   
>> On Thu, Apr 29, 2010 at 02:26:50PM +0100, Mans Rullgard wrote:
>>     
>>> The normal byteswap functions might use inline asm which is suboptimal
>>> with constants (and cannot be used in static initialisers), so special
>>> macros for constants only is needed.
>>>       
>> for static initialisers this patch is ok of course
>>     
>
> Applied.
>   

I guess you implemented those so we can create the endianess dependant
tables in libavcodec/iff.c ;-)

-- 

Best regards,
                   :-) Basty/CDGS (-:




More information about the ffmpeg-devel mailing list