Browse Source

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>
tags/n2.4
James Almer Michael Niedermayer 11 years ago
parent
commit
9ffac3d00d
2 changed files with 3 additions and 0 deletions
  1. +2
    -0
      libswscale/Makefile
  2. +1
    -0
      libswscale/log2_tab.c

+ 2
- 0
libswscale/Makefile View File

@@ -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



+ 1
- 0
libswscale/log2_tab.c View File

@@ -0,0 +1 @@
#include "libavutil/log2_tab.c"

Loading…
Cancel
Save