From 9ffac3d00d2f453552c7541dcdd96f88b2419bb2 Mon Sep 17 00:00:00 2001 From: James Almer Date: Tue, 12 Aug 2014 15:21:24 -0300 Subject: [PATCH] lsws: duplicate ff_log2_tab libswscale uses the table but wasn't duplicating it like the rest of the libs. This should fix compilation failures on msvc/icl after lavu stopped exporting internal functions and tables. Signed-off-by: James Almer Signed-off-by: Michael Niedermayer --- libswscale/Makefile | 2 ++ libswscale/log2_tab.c | 1 + 2 files changed, 3 insertions(+) create mode 100644 libswscale/log2_tab.c diff --git a/libswscale/Makefile b/libswscale/Makefile index 067e2b9410..a60b05748d 100644 --- a/libswscale/Makefile +++ b/libswscale/Makefile @@ -15,6 +15,8 @@ OBJS = hscale_fast_bilinear.o \ utils.o \ yuv2rgb.o \ +OBJS-$(CONFIG_SHARED) += log2_tab.o + # Windows resource file SLIBOBJS-$(HAVE_GNU_WINDRES) += swscaleres.o diff --git a/libswscale/log2_tab.c b/libswscale/log2_tab.c new file mode 100644 index 0000000000..47a1df03b7 --- /dev/null +++ b/libswscale/log2_tab.c @@ -0,0 +1 @@ +#include "libavutil/log2_tab.c"