summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2014-08-12 18:38:32 -0300
committerMichael Niedermayer <michaelni@gmx.at>2014-08-13 01:00:38 +0200
commit7cafdfe9c7992e95f08b320fc7b4f1512e4e2afb (patch)
tree245f3c94c49373487f454132aece7a6659caebbc
parent298b3b6c1f8f66b9bc6de53a7b51d3de745d946b (diff)
downloadffmpeg-7cafdfe9c7992e95f08b320fc7b4f1512e4e2afb.tar.gz
lavfi: duplicate ff_log2_tab
Fixes compilation failures on msvc/icl shared builds Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavfilter/Makefile1
-rw-r--r--libavfilter/log2_tab.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/libavfilter/Makefile b/libavfilter/Makefile
index e9c8456313..7486f96c9c 100644
--- a/libavfilter/Makefile
+++ b/libavfilter/Makefile
@@ -244,6 +244,7 @@ SKIPHEADERS-$(CONFIG_LIBVIDSTAB) += vidstabutils.h
SKIPHEADERS-$(CONFIG_OPENCL) += opencl_internal.h deshake_opencl_kernel.h unsharp_opencl_kernel.h
OBJS-$(HAVE_THREADS) += pthread.o
+OBJS-$(CONFIG_SHARED) += log2_tab.o
TOOLS = graph2dot
TESTPROGS = drawutils filtfmts formats
diff --git a/libavfilter/log2_tab.c b/libavfilter/log2_tab.c
new file mode 100644
index 0000000000..47a1df03b7
--- /dev/null
+++ b/libavfilter/log2_tab.c
@@ -0,0 +1 @@
+#include "libavutil/log2_tab.c"