]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/flicvideo.c
Indeo 5 decoder
[ffmpeg] / libavcodec / flicvideo.c
index 37bed0a0de9047dba0adaa24f18976f346f79d76..2ee7837f604ea8aaff55d181c42c1bf56104a4b3 100644 (file)
@@ -38,7 +38,6 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
-#include <unistd.h>
 
 #include "libavutil/intreadwrite.h"
 #include "avcodec.h"
@@ -586,7 +585,7 @@ static int flic_decode_frame_15_16BPP(AVCodecContext *avctx,
                  * during decompression. So if it is required (i.e., this is not a LE target, we do
                  * a second pass over the line here, swapping the bytes.
                  */
-#ifdef WORDS_BIGENDIAN
+#if HAVE_BIGENDIAN
                 pixel_ptr = y_ptr;
                 pixel_countdown = s->avctx->width;
                 while (pixel_countdown > 0) {