diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2007-01-20 01:12:59 +0300 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2007-01-20 01:12:59 +0300 |
commit | fead30d4440bc7b75006ae60f2742c63a05168b3 (patch) | |
tree | cead68d924846c1bfb756bb46c86184d889d10db /libavcodec/zmbv.c | |
parent | 50eaa857c099abda803c803927276d81c2d74edb (diff) |
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
Diffstat (limited to 'libavcodec/zmbv.c')
-rw-r--r-- | libavcodec/zmbv.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/zmbv.c b/libavcodec/zmbv.c index fe3745e09b..3b87c7db15 100644 --- a/libavcodec/zmbv.c +++ b/libavcodec/zmbv.c @@ -545,7 +545,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, uint8 case ZMBV_FMT_15BPP: for(j = 0; j < c->height; j++) { for(i = 0; i < c->width; i++) { - uint16_t tmp = LE_16(src); + uint16_t tmp = AV_RL16(src); src += 2; out[i * 3 + 0] = (tmp & 0x7C00) >> 7; out[i * 3 + 1] = (tmp & 0x03E0) >> 2; @@ -557,7 +557,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, uint8 case ZMBV_FMT_16BPP: for(j = 0; j < c->height; j++) { for(i = 0; i < c->width; i++) { - uint16_t tmp = LE_16(src); + uint16_t tmp = AV_RL16(src); src += 2; out[i * 3 + 0] = (tmp & 0xF800) >> 8; out[i * 3 + 1] = (tmp & 0x07E0) >> 3; @@ -578,7 +578,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, uint8 case ZMBV_FMT_32BPP: for(j = 0; j < c->height; j++) { for(i = 0; i < c->width; i++) { - uint32_t tmp = LE_32(src); + uint32_t tmp = AV_RL32(src); src += 4; out[i * 3 + 0] = tmp >> 16; out[i * 3 + 1] = tmp >> 8; |