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/qtrle.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/qtrle.c')
-rw-r--r-- | libavcodec/qtrle.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/libavcodec/qtrle.c b/libavcodec/qtrle.c index 29e777b31f..55fa98663d 100644 --- a/libavcodec/qtrle.c +++ b/libavcodec/qtrle.c @@ -26,8 +26,8 @@ * * The QT RLE decoder has seven modes of operation: * 1, 2, 4, 8, 16, 24, and 32 bits per pixel. For modes 1, 2, 4, and 8 - * the decoder outputs PAL8 colorspace data. 16-bit data yields RGB24 - * data. 24-bit data is RGB888 and 32-bit data is RGBA32. + * the decoder outputs PAL8 colorspace data. 16-bit data yields RGB555 + * data. 24-bit data is RGB24 and 32-bit data is RGBA32. */ #include <stdio.h> @@ -50,8 +50,6 @@ typedef struct QtrleContext { } QtrleContext; -#define BE_16(x) ((((uint8_t*)(x))[0] << 8) | ((uint8_t*)(x))[1]) - #define CHECK_STREAM_PTR(n) \ if ((stream_ptr + n) > s->size) { \ av_log (s->avctx, AV_LOG_INFO, "Problem: stream_ptr out of bounds (%d >= %d)\n", \ |