aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/asfcrypt.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 /libavformat/asfcrypt.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 'libavformat/asfcrypt.c')
-rw-r--r--libavformat/asfcrypt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/asfcrypt.c b/libavformat/asfcrypt.c
index 09e9af6f2c..993c9dac91 100644
--- a/libavformat/asfcrypt.c
+++ b/libavformat/asfcrypt.c
@@ -170,7 +170,7 @@ void ff_asfcrypt_dec(const uint8_t key[20], uint8_t *data, int len) {
ms_state = multiswap_enc(ms_keys, ms_state, AV_RL64(qwords));
multiswap_invert_keys(ms_keys);
packetkey = (packetkey << 32) | (packetkey >> 32);
- packetkey = le2me_64(packetkey);
+ packetkey = le2ne_64(packetkey);
packetkey = multiswap_dec(ms_keys, ms_state, packetkey);
AV_WL64(qwords, packetkey);
}