lavfi: duplicate ff_log2_tab
authorJames Almer <jamrial@gmail.com>
Tue, 12 Aug 2014 21:38:32 +0000 (18:38 -0300)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 12 Aug 2014 23:00:38 +0000 (01:00 +0200)
Fixes compilation failures on msvc/icl shared builds

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavfilter/Makefile
libavfilter/log2_tab.c [new file with mode: 0644]

index e9c8456..7486f96 100644 (file)
@@ -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 (file)
index 0000000..47a1df0
--- /dev/null
@@ -0,0 +1 @@
+#include "libavutil/log2_tab.c"