Mercurial > libavcodec.hg
diff flacenc.c @ 12128:ee740a4e80c5 libavcodec
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 | fdafbcef52f5 |
| children | 8b28e74de2c0 |
line wrap: on
line diff
--- a/flacenc.c Sat Jul 10 14:36:53 2010 +0000 +++ b/flacenc.c Sat Jul 10 22:09:01 2010 +0000 @@ -1164,7 +1164,7 @@ #if HAVE_BIGENDIAN int i; for(i = 0; i < s->frame.blocksize*s->channels; i++) { - int16_t smp = le2me_16(samples[i]); + int16_t smp = le2ne_16(samples[i]); av_md5_update(s->md5ctx, (uint8_t *)&smp, 2); } #else
