diff options
Diffstat (limited to 'libavcodec/tiff.c')
-rw-r--r-- | libavcodec/tiff.c | 7 |
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; |