diff options
author | Måns Rullgård <mans@mansr.com> | 2010-07-10 22:09:01 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2010-07-10 22:09:01 +0000 |
commit | e6b22522c94cfccda97018e52ab65da8c69d8a56 (patch) | |
tree | 4ecb09a4ae3f895d70ab882d841347d943eef0a2 /libavcodec/4xm.c | |
parent | 6b7917ba3ba16cbbcc81d9e007b26f82dd06400f (diff) | |
download | ffmpeg-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/4xm.c')
-rw-r--r-- | libavcodec/4xm.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libavcodec/4xm.c b/libavcodec/4xm.c index 219850302c..955268fbb7 100644 --- a/libavcodec/4xm.c +++ b/libavcodec/4xm.c @@ -333,16 +333,16 @@ static void decode_p_block(FourXContext *f, uint16_t *dst, uint16_t *src, int lo av_log(f->avctx, AV_LOG_ERROR, "mv out of pic\n"); return; } - mcdc(dst, src, log2w, h, stride, 1, le2me_16(*f->wordstream++)); + mcdc(dst, src, log2w, h, stride, 1, le2ne_16(*f->wordstream++)); }else if(code == 5){ - mcdc(dst, src, log2w, h, stride, 0, le2me_16(*f->wordstream++)); + mcdc(dst, src, log2w, h, stride, 0, le2ne_16(*f->wordstream++)); }else if(code == 6){ if(log2w){ - dst[0] = le2me_16(*f->wordstream++); - dst[1] = le2me_16(*f->wordstream++); + dst[0] = le2ne_16(*f->wordstream++); + dst[1] = le2ne_16(*f->wordstream++); }else{ - dst[0 ] = le2me_16(*f->wordstream++); - dst[stride] = le2me_16(*f->wordstream++); + dst[0 ] = le2ne_16(*f->wordstream++); + dst[stride] = le2ne_16(*f->wordstream++); } } } |