Mercurial > libavformat.hg
diff asfcrypt.c @ 6247:a64b9fa63635 libavformat
bswap: change ME to NE in macro names
Other parts of FFmpeg use NE (native endian) rather than ME (machine).
This makes it consistent.
| author | mru |
|---|---|
| date | Sat, 10 Jul 2010 22:09:01 +0000 |
| parents | 8b49322b8735 |
| children | e630da0f5861 |
line wrap: on
line diff
--- a/asfcrypt.c Fri Jul 09 12:14:33 2010 +0000 +++ b/asfcrypt.c Sat Jul 10 22:09:01 2010 +0000 @@ -170,7 +170,7 @@ 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); }
