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

Michael Niedermayer michaelni
Thu Apr 29 16:14:33 CEST 2010


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

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In a rich man's house there is no place to spit but his face.
-- Diogenes of Sinope
-------------- 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/20100429/fd3d287a/attachment.pgp>



More information about the ffmpeg-devel mailing list