diff options
author | James Almer <jamrial@gmail.com> | 2014-08-12 15:21:24 -0300 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-08-12 20:52:21 +0200 |
commit | 9ffac3d00d2f453552c7541dcdd96f88b2419bb2 (patch) | |
tree | 196dd058c0a9759123ba9736203f96ef96878bab /libswscale | |
parent | 113229922ae2faa065e5758534b83e73bda65978 (diff) | |
download | ffmpeg-streaming-9ffac3d00d2f453552c7541dcdd96f88b2419bb2.zip ffmpeg-streaming-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/Makefile | 2 | ||||
-rw-r--r-- | libswscale/log2_tab.c | 1 |
2 files changed, 3 insertions, 0 deletions
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" |