diff options
author | Måns Rullgård <mans@mansr.com> | 2010-07-10 22:12:30 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2010-07-10 22:12:30 +0000 |
commit | 8fc0162ac44f3e60798552ca6d19387be95cae4c (patch) | |
tree | 443f7c684a3a8be0e9b70d67a91b8572bfa1ddd2 /libavcodec/cook.c | |
parent | e6b22522c94cfccda97018e52ab65da8c69d8a56 (diff) | |
download | ffmpeg-8fc0162ac44f3e60798552ca6d19387be95cae4c.tar.gz |
Add av_ prefix to bswap macros
Originally committed as revision 24170 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/cook.c')
-rw-r--r-- | libavcodec/cook.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/cook.c b/libavcodec/cook.c index 8b85e597d9..b7e2ef1a91 100644 --- a/libavcodec/cook.c +++ b/libavcodec/cook.c @@ -316,12 +316,12 @@ static inline int decode_bytes(const uint8_t* inbuffer, uint8_t* out, int bytes) /* FIXME: 64 bit platforms would be able to do 64 bits at a time. * I'm too lazy though, should be something like * for(i=0 ; i<bitamount/64 ; i++) - * (int64_t)out[i] = 0x37c511f237c511f2^be2ne_64(int64_t)in[i]); + * (int64_t)out[i] = 0x37c511f237c511f2^av_be2ne64(int64_t)in[i]); * Buffer alignment needs to be checked. */ off = (intptr_t)inbuffer & 3; buf = (const uint32_t*) (inbuffer - off); - c = be2ne_32((0x37c511f2 >> (off*8)) | (0x37c511f2 << (32-(off*8)))); + c = av_be2ne32((0x37c511f2 >> (off*8)) | (0x37c511f2 << (32-(off*8)))); bytes += 3 + off; for (i = 0; i < bytes/4; i++) obuf[i] = c ^ buf[i]; |