summaryrefslogtreecommitdiffstats
path: root/libavformat
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 /libavformat
parentf6c38c5f4ed6683a6a61db2ed418a68bbe5f5507 (diff)
downloadffmpeg-streaming-930c9d4373e0f3cb7c64fcfc129127a309f6d066.zip
ffmpeg-streaming-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 'libavformat')
-rw-r--r--libavformat/Makefile1
-rw-r--r--libavformat/log2_tab.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/Makefile b/libavformat/Makefile
index e8729c0..5d89a2e 100644
--- a/libavformat/Makefile
+++ b/libavformat/Makefile
@@ -11,6 +11,7 @@ OBJS = allformats.o \
cutils.o \
id3v1.o \
id3v2.o \
+ log2_tab.o \
metadata.o \
mux.o \
options.o \
diff --git a/libavformat/log2_tab.c b/libavformat/log2_tab.c
new file mode 100644
index 0000000..47a1df0
--- /dev/null
+++ b/libavformat/log2_tab.c
@@ -0,0 +1 @@
+#include "libavutil/log2_tab.c"
OpenPOWER on IntegriCloud