aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/tiff.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2012-10-11 18:50:30 +0200
committerDiego Biurrun <diego@biurrun.de>2012-10-12 20:39:18 +0200
commitd5c62122a7b26704bf867a1262df358623bf5edf (patch)
tree187a81249ccd692b0d25c951185721055ef3c797 /libavcodec/tiff.c
parent930c9d4373e0f3cb7c64fcfc129127a309f6d066 (diff)
downloadffmpeg-d5c62122a7b26704bf867a1262df358623bf5edf.tar.gz
Move av_reverse table to libavcodec
It is only used in that library.
Diffstat (limited to 'libavcodec/tiff.c')
-rw-r--r--libavcodec/tiff.c7
1 files changed, 4 insertions, 3 deletions
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;