[FFmpeg-cvslog] swresample: include ff_log2_tab for shared builds

Hendrik Leppkes git at videolan.org
Sat Oct 20 02:02:44 CEST 2012


ffmpeg | branch: master | Hendrik Leppkes <h.leppkes at gmail.com> | Fri Oct 19 21:35:40 2012 +0200| [04bf2e7f0e9cf389f0756f0a413b7b275a75334f] | committer: Michael Niedermayer

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 at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=04bf2e7f0e9cf389f0756f0a413b7b275a75334f
---

 libswresample/Makefile   |    1 +
 libswresample/log2_tab.c |    1 +
 2 files changed, 2 insertions(+)

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"



More information about the ffmpeg-cvslog mailing list