From e6b22522c94cfccda97018e52ab65da8c69d8a56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A5ns=20Rullg=C3=A5rd?= Date: Sat, 10 Jul 2010 22:09:01 +0000 Subject: 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 --- libavcodec/asv1.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavcodec/asv1.c') diff --git a/libavcodec/asv1.c b/libavcodec/asv1.c index 211a13faf8..9808926abe 100644 --- a/libavcodec/asv1.c +++ b/libavcodec/asv1.c @@ -588,8 +588,8 @@ static av_cold int encode_init(AVCodecContext *avctx){ avctx->extradata= av_mallocz(8); avctx->extradata_size=8; - ((uint32_t*)avctx->extradata)[0]= le2me_32(a->inv_qscale); - ((uint32_t*)avctx->extradata)[1]= le2me_32(AV_RL32("ASUS")); + ((uint32_t*)avctx->extradata)[0]= le2ne_32(a->inv_qscale); + ((uint32_t*)avctx->extradata)[1]= le2ne_32(AV_RL32("ASUS")); for(i=0; i<64; i++){ int q= 32*scale*ff_mpeg1_default_intra_matrix[i]; -- cgit v1.2.3