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>
pull/80/head
James Almer 11 years ago committed by Michael Niedermayer
parent 113229922a
commit 9ffac3d00d
  1. 2
      libswscale/Makefile
  2. 1
      libswscale/log2_tab.c

@ -15,6 +15,8 @@ OBJS = hscale_fast_bilinear.o \
utils.o \ utils.o \
yuv2rgb.o \ yuv2rgb.o \
OBJS-$(CONFIG_SHARED) += log2_tab.o
# Windows resource file # Windows resource file
SLIBOBJS-$(HAVE_GNU_WINDRES) += swscaleres.o SLIBOBJS-$(HAVE_GNU_WINDRES) += swscaleres.o

@ -0,0 +1 @@
#include "libavutil/log2_tab.c"
Loading…
Cancel
Save