From 930c9d4373e0f3cb7c64fcfc129127a309f6d066 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Thu, 4 Oct 2012 21:12:32 +0200 Subject: 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. --- libavformat/Makefile | 1 + libavformat/log2_tab.c | 1 + 2 files changed, 2 insertions(+) create mode 100644 libavformat/log2_tab.c (limited to 'libavformat') 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" -- cgit v1.1