summaryrefslogtreecommitdiff
path: root/libavutil/common.h
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 /libavutil/common.h
parent930c9d4373e0f3cb7c64fcfc129127a309f6d066 (diff)
Move av_reverse table to libavcodec
It is only used in that library.
Diffstat (limited to 'libavutil/common.h')
-rw-r--r--libavutil/common.h6
1 files changed, 5 insertions, 1 deletions
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 <stdio.h>
#include <stdlib.h>
#include <string.h>
+
#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)
{