Skip to content

Commit 9ffac3d

Browse files
jamrialmichaelni
authored andcommitted
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 <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
1 parent 1132299 commit 9ffac3d

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

libswscale/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ OBJS = hscale_fast_bilinear.o \
1515
utils.o \
1616
yuv2rgb.o \
1717

18+
OBJS-$(CONFIG_SHARED) += log2_tab.o
19+
1820
# Windows resource file
1921
SLIBOBJS-$(HAVE_GNU_WINDRES) += swscaleres.o
2022

libswscale/log2_tab.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#include "libavutil/log2_tab.c"

0 commit comments

Comments
 (0)