aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/pamenc.c
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2010-04-29 14:41:20 +0000
committerMåns Rullgård <mans@mansr.com>2010-04-29 14:41:20 +0000
commit547b7bcbb77d7f5b2cbcbce8d734ea43617194ab (patch)
treedefd31a209f6fc16151819b44ec611787db9112e /libavcodec/pamenc.c
parentfaa2989e0f016fa44d41bc1047dee4f421ab088a (diff)
downloadffmpeg-547b7bcbb77d7f5b2cbcbce8d734ea43617194ab.tar.gz
bswap: add macros to byteswap constants
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. We should not rely on the gcc __builtin_constant_p() test since it is not always available. Originally committed as revision 22990 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/pamenc.c')
0 files changed, 0 insertions, 0 deletions