aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2012-10-04 21:12:32 +0200
committerDiego Biurrun <diego@biurrun.de>2012-10-12 20:39:17 +0200
commit930c9d4373e0f3cb7c64fcfc129127a309f6d066 (patch)
tree3b19450d2f717e3de3791f7a856c14b9a3799221 /libavcodec
parentf6c38c5f4ed6683a6a61db2ed418a68bbe5f5507 (diff)
downloadffmpeg-930c9d4373e0f3cb7c64fcfc129127a309f6d066.tar.gz
avutil: Duplicate ff_log2_tab instead of sharing it across libs
The table is so small that the space gain is not worth the performance overhead of cross-library access.
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/Makefile1
-rw-r--r--libavcodec/log2_tab.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/Makefile b/libavcodec/Makefile
index 5dbd60e067..a63e2baf46 100644
--- a/libavcodec/Makefile
+++ b/libavcodec/Makefile
@@ -22,6 +22,7 @@ OBJS = allcodecs.o \
fmtconvert.o \
imgconvert.o \
jrevdct.o \
+ log2_tab.o \
mathtables.o \
options.o \
parser.o \
diff --git a/libavcodec/log2_tab.c b/libavcodec/log2_tab.c
new file mode 100644
index 0000000000..47a1df03b7
--- /dev/null
+++ b/libavcodec/log2_tab.c
@@ -0,0 +1 @@
+#include "libavutil/log2_tab.c"