aboutsummaryrefslogtreecommitdiffstats
path: root/libswscale
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2014-08-12 15:21:24 -0300
committerMichael Niedermayer <michaelni@gmx.at>2014-08-12 20:52:21 +0200
commit9ffac3d00d2f453552c7541dcdd96f88b2419bb2 (patch)
tree196dd058c0a9759123ba9736203f96ef96878bab /libswscale
parent113229922ae2faa065e5758534b83e73bda65978 (diff)
downloadffmpeg-9ffac3d00d2f453552c7541dcdd96f88b2419bb2.tar.gz
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 <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libswscale')
-rw-r--r--libswscale/Makefile2
-rw-r--r--libswscale/log2_tab.c1
2 files changed, 3 insertions, 0 deletions
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"