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. --- libavutil/common.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'libavutil/common.h') diff --git a/libavutil/common.h b/libavutil/common.h index 433e8e490a..c0e0fc5130 100644 --- a/libavutil/common.h +++ b/libavutil/common.h @@ -34,7 +34,9 @@ #include #include #include + #include "attributes.h" +#include "version.h" #include "libavutil/avconfig.h" #if AV_HAVE_BIGENDIAN @@ -62,7 +64,9 @@ /* misc math functions */ extern const uint8_t ff_log2_tab[256]; -extern const uint8_t av_reverse[256]; +#if FF_API_AV_REVERSE +extern attribute_deprecated const uint8_t av_reverse[256]; +#endif static av_always_inline av_const int av_log2_c(unsigned int v) { -- cgit v1.2.3