Mercurial > libavcodec.hg
diff cinepak.c @ 1881:39ad6cd5d4a6 libavcodec
remove numerous definitions of BE_*/LE_* macros; convert FOURCC_TAG ->
MKTAG/MKBETAG
author | melanson |
---|---|
date | Sun, 14 Mar 2004 04:04:08 +0000 |
parents | 932d306bf1dc |
children | b13a25ac9f0c |
line wrap: on
line diff
--- a/cinepak.c Sat Mar 13 22:01:32 2004 +0000 +++ b/cinepak.c Sun Mar 14 04:04:08 2004 +0000 @@ -37,12 +37,6 @@ #define PALETTE_COUNT 256 -#define BE_16(x) ((((uint8_t*)(x))[0] << 8) | ((uint8_t*)(x))[1]) -#define BE_32(x) ((((uint8_t*)(x))[0] << 24) | \ - (((uint8_t*)(x))[1] << 16) | \ - (((uint8_t*)(x))[2] << 8) | \ - ((uint8_t*)(x))[3]) - typedef struct { uint8_t y0, y1, y2, y3; uint8_t u, v;