Mercurial > libavcodec.hg
diff r210dec.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 | 8a4984c5cacc |
| children | 8b28e74de2c0 |
line wrap: on
line diff
--- a/r210dec.c Sat Jul 10 14:36:53 2010 +0000 +++ b/r210dec.c Sat Jul 10 22:09:01 2010 +0000 @@ -61,7 +61,7 @@ for (h = 0; h < avctx->height; h++) { uint16_t *dst = (uint16_t *)dst_line; for (w = 0; w < avctx->width; w++) { - uint32_t pixel = be2me_32(*src++); + uint32_t pixel = be2ne_32(*src++); uint16_t r, g, b; b = pixel << 6; g = (pixel >> 4) & 0xffc0;
