summaryrefslogtreecommitdiff
path: root/libavcodec/r210dec.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 /libavcodec/r210dec.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 'libavcodec/r210dec.c')
-rw-r--r--libavcodec/r210dec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/r210dec.c b/libavcodec/r210dec.c
index 416f76498c..32516837c7 100644
--- a/libavcodec/r210dec.c
+++ b/libavcodec/r210dec.c
@@ -61,7 +61,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *data_size,
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;