aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/crc.c
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2010-07-10 22:09:01 +0000
committerMåns Rullgård <mans@mansr.com>2010-07-10 22:09:01 +0000
commite6b22522c94cfccda97018e52ab65da8c69d8a56 (patch)
tree4ecb09a4ae3f895d70ab882d841347d943eef0a2 /libavutil/crc.c
parent6b7917ba3ba16cbbcc81d9e007b26f82dd06400f (diff)
downloadffmpeg-e6b22522c94cfccda97018e52ab65da8c69d8a56.tar.gz
bswap: change ME to NE in macro names
Other parts of FFmpeg use NE (native endian) rather than ME (machine). This makes it consistent. Originally committed as revision 24169 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil/crc.c')
-rw-r--r--libavutil/crc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/crc.c b/libavutil/crc.c
index 54133e70e1..4cad981632 100644
--- a/libavutil/crc.c
+++ b/libavutil/crc.c
@@ -121,7 +121,7 @@ uint32_t av_crc(const AVCRC *ctx, uint32_t crc, const uint8_t *buffer, size_t le
crc = ctx[((uint8_t)crc) ^ *buffer++] ^ (crc >> 8);
while(buffer<end-3){
- crc ^= le2me_32(*(const uint32_t*)buffer); buffer+=4;
+ crc ^= le2ne_32(*(const uint32_t*)buffer); buffer+=4;
crc = ctx[3*256 + ( crc &0xFF)]
^ctx[2*256 + ((crc>>8 )&0xFF)]
^ctx[1*256 + ((crc>>16)&0xFF)]