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/tiff.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'libavcodec/tiff.c') diff --git a/libavcodec/tiff.c b/libavcodec/tiff.c index a15095116c..48ce5c1fad 100644 --- a/libavcodec/tiff.c +++ b/libavcodec/tiff.c @@ -33,7 +33,8 @@ #include "lzw.h" #include "tiff.h" #include "faxcompr.h" -#include "libavutil/common.h" +#include "mathops.h" +#include "libavutil/attributes.h" #include "libavutil/intreadwrite.h" #include "libavutil/imgutils.h" @@ -171,7 +172,7 @@ static int tiff_unpack_strip(TiffContext *s, uint8_t *dst, int stride, memcpy(src2, src, size); } else { for (i = 0; i < size; i++) - src2[i] = av_reverse[src[i]]; + src2[i] = ff_reverse[src[i]]; } memset(src2 + size, 0, FF_INPUT_BUFFER_PADDING_SIZE); switch (s->compr) { @@ -199,7 +200,7 @@ static int tiff_unpack_strip(TiffContext *s, uint8_t *dst, int stride, } else { int i; for (i = 0; i < width; i++) - dst[i] = av_reverse[src[i]]; + dst[i] = ff_reverse[src[i]]; } src += width; break; -- cgit v1.2.3