From 3a278992bdd8138eeefc9df06878703480f27b1b Mon Sep 17 00:00:00 2001 From: Mike Melanson Date: Sun, 14 Mar 2004 04:04:08 +0000 Subject: remove numerous definitions of BE_*/LE_* macros; convert FOURCC_TAG -> MKTAG/MKBETAG Originally committed as revision 2886 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/xan.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'libavcodec/xan.c') diff --git a/libavcodec/xan.c b/libavcodec/xan.c index 4dad2e2141..f98a06bca9 100644 --- a/libavcodec/xan.c +++ b/libavcodec/xan.c @@ -58,13 +58,6 @@ typedef struct XanContext { } XanContext; -#define BE_16(x) ((((uint8_t*)(x))[0] << 8) | ((uint8_t*)(x))[1]) -#define LE_16(x) ((((uint8_t*)(x))[1] << 8) | ((uint8_t*)(x))[0]) -#define LE_32(x) ((((uint8_t*)(x))[3] << 24) | \ - (((uint8_t*)(x))[2] << 16) | \ - (((uint8_t*)(x))[1] << 8) | \ - ((uint8_t*)(x))[0]) - /* RGB -> YUV conversion stuff */ #define SCALEFACTOR 65536 #define CENTERSAMPLE 128 -- cgit v1.2.3