From d5c62122a7b26704bf867a1262df358623bf5edf Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Thu, 11 Oct 2012 18:50:30 +0200 Subject: Move av_reverse table to libavcodec It is only used in that library. --- libavcodec/indeo2.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'libavcodec/indeo2.c') diff --git a/libavcodec/indeo2.c b/libavcodec/indeo2.c index 0fa79223e4..76592d67c3 100644 --- a/libavcodec/indeo2.c +++ b/libavcodec/indeo2.c @@ -23,11 +23,13 @@ * @file * Intel Indeo 2 decoder. */ + #define BITSTREAM_READER_LE +#include "libavutil/attributes.h" #include "avcodec.h" #include "get_bits.h" #include "indeo2data.h" -#include "libavutil/common.h" +#include "mathops.h" typedef struct Ir2Context{ AVCodecContext *avctx; @@ -168,7 +170,7 @@ static int ir2_decode_frame(AVCodecContext *avctx, /* decide whether frame uses deltas or not */ #ifndef BITSTREAM_READER_LE for (i = 0; i < buf_size; i++) - buf[i] = av_reverse[buf[i]]; + buf[i] = ff_reverse[buf[i]]; #endif init_get_bits(&s->gb, buf + start, (buf_size - start) * 8); -- cgit v1.2.3