[FFmpeg-devel] [PATCH] lavfi: duplicate ff_log2_tab

James Almer jamrial at gmail.com
Tue Aug 12 23:38:32 CEST 2014


Fixes compilation failures on msvc/icl shared builds

Signed-off-by: James Almer <jamrial at gmail.com>
---
 libavfilter/Makefile   | 1 +
 libavfilter/log2_tab.c | 1 +
 2 files changed, 2 insertions(+)
 create mode 100644 libavfilter/log2_tab.c

diff --git a/libavfilter/Makefile b/libavfilter/Makefile
index e9c8456..7486f96 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 0000000..47a1df0
--- /dev/null
+++ b/libavfilter/log2_tab.c
@@ -0,0 +1 @@
+#include "libavutil/log2_tab.c"
-- 
1.8.5.5



More information about the ffmpeg-devel mailing list