[FFmpeg-cvslog] lsws: duplicate ff_log2_tab

James Almer git at videolan.org
Tue Aug 12 20:59:36 CEST 2014


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Tue Aug 12 15:21:24 2014 -0300| [9ffac3d00d2f453552c7541dcdd96f88b2419bb2] | committer: Michael Niedermayer

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 at gmail.com>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9ffac3d00d2f453552c7541dcdd96f88b2419bb2
---

 libswscale/Makefile   |    2 ++
 libswscale/log2_tab.c |    1 +
 2 files changed, 3 insertions(+)

diff --git a/libswscale/Makefile b/libswscale/Makefile
index 067e2b9..a60b057 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 0000000..47a1df0
--- /dev/null
+++ b/libswscale/log2_tab.c
@@ -0,0 +1 @@
+#include "libavutil/log2_tab.c"



More information about the ffmpeg-cvslog mailing list