summaryrefslogtreecommitdiff
path: root/libswresample
diff options
context:
space:
mode:
authorHendrik Leppkes <h.leppkes@gmail.com>2012-10-19 21:35:40 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-10-20 01:58:04 +0200
commit04bf2e7f0e9cf389f0756f0a413b7b275a75334f (patch)
tree45a1ad388127d28d67e17d3b421e1b185e788cb3 /libswresample
parent953a3dcc4e28995072a1148e9d533e8d7b32248c (diff)
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 <michaelni@gmx.at>
Diffstat (limited to 'libswresample')
-rw-r--r--libswresample/Makefile1
-rw-r--r--libswresample/log2_tab.c1
2 files changed, 2 insertions, 0 deletions
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"