diff options
author | Mike Melanson <mike@multimedia.cx> | 2004-03-14 07:04:08 +0300 |
---|---|---|
committer | Mike Melanson <mike@multimedia.cx> | 2004-03-14 07:04:08 +0300 |
commit | 3a278992bdd8138eeefc9df06878703480f27b1b (patch) | |
tree | 6891b1a6c885f6c5dd68843695739c53c8741c9b /libavcodec/xan.c | |
parent | 9eef2b77b29189606148e1fdf5d6c8d7b52b08b0 (diff) |
remove numerous definitions of BE_*/LE_* macros; convert FOURCC_TAG ->
MKTAG/MKBETAG
Originally committed as revision 2886 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/xan.c')
-rw-r--r-- | libavcodec/xan.c | 7 |
1 files changed, 0 insertions, 7 deletions
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 |