From 04bf2e7f0e9cf389f0756f0a413b7b275a75334f Mon Sep 17 00:00:00 2001 From: Hendrik Leppkes Date: Fri, 19 Oct 2012 21:35:40 +0200 Subject: [PATCH] swresample: include ff_log2_tab for shared builds This is done in accordance with all other libraries, which no longer access ff_log2_tab from avutil directly for shared builds, and instead obtain their own copy. This change is required for MSVC DLL builds, as well as avoids accessing a private symbol from another library. Signed-off-by: Michael Niedermayer --- libswresample/Makefile | 1 + libswresample/log2_tab.c | 1 + 2 files changed, 2 insertions(+) create mode 100644 libswresample/log2_tab.c diff --git a/libswresample/Makefile b/libswresample/Makefile index d85ed8be88..4c3ec1cff5 100644 --- a/libswresample/Makefile +++ b/libswresample/Makefile @@ -8,6 +8,7 @@ HEADERS = swresample.h \ OBJS = audioconvert.o \ dither.o \ + log2_tab.o \ rematrix.o \ resample.o \ swresample.o \ diff --git a/libswresample/log2_tab.c b/libswresample/log2_tab.c new file mode 100644 index 0000000000..47a1df03b7 --- /dev/null +++ b/libswresample/log2_tab.c @@ -0,0 +1 @@ +#include "libavutil/log2_tab.c"