From fead30d4440bc7b75006ae60f2742c63a05168b3 Mon Sep 17 00:00:00 2001 From: Alex Beregszaszi Date: Fri, 19 Jan 2007 22:12:59 +0000 Subject: rename BE/LE_8/16/32 to AV_RL/B_8/16/32 Originally committed as revision 7587 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/loco.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libavcodec/loco.c') diff --git a/libavcodec/loco.c b/libavcodec/loco.c index 2ec850ed09..b1f99f425b 100644 --- a/libavcodec/loco.c +++ b/libavcodec/loco.c @@ -237,20 +237,20 @@ static int decode_init(AVCodecContext *avctx){ avctx->extradata_size); return -1; } - version = LE_32(avctx->extradata); + version = AV_RL32(avctx->extradata); switch(version) { case 1: l->lossy = 0; break; case 2: - l->lossy = LE_32(avctx->extradata + 8); + l->lossy = AV_RL32(avctx->extradata + 8); break; default: - l->lossy = LE_32(avctx->extradata + 8); + l->lossy = AV_RL32(avctx->extradata + 8); av_log(avctx, AV_LOG_INFO, "This is LOCO codec version %i, please upload file for study\n", version); } - l->mode = LE_32(avctx->extradata + 4); + l->mode = AV_RL32(avctx->extradata + 4); switch(l->mode) { case LOCO_CYUY2: case LOCO_YUY2: case LOCO_UYVY: avctx->pix_fmt = PIX_FMT_YUV422P; -- cgit v1.2.3