[FFmpeg-devel] [PATCH 3/3] swresample: include ff_log2_tab for shared builds
Hendrik Leppkes
h.leppkes at gmail.com
Fri Oct 19 21:35:40 CEST 2012
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.
---
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 d85ed8b..4c3ec1c 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 0000000..47a1df0
--- /dev/null
+++ b/libswresample/log2_tab.c
@@ -0,0 +1 @@
+#include "libavutil/log2_tab.c"
--
1.7.11.msysgit.1
More information about the ffmpeg-devel
mailing list