[vlc-devel] commit: avcodec, avformat, postproc and switcher link against avutil ( Rémi Denis-Courmont )
git version control
git at videolan.org
Thu Sep 3 21:50:23 CEST 2009
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Sep 3 22:46:50 2009 +0300| [21cd1cd4a299476d3a3b751fc1e80ec66623a4a5] | committer: Rémi Denis-Courmont
avcodec, avformat, postproc and switcher link against avutil
Contrary to swscale(?), those plugins call avutil directly
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=21cd1cd4a299476d3a3b751fc1e80ec66623a4a5
---
configure.ac | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/configure.ac b/configure.ac
index 8fc6350..67f755f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2871,8 +2871,8 @@ AC_ARG_ENABLE(switcher,
AS_IF([test "${enable_switcher}" = "yes"], [
AS_IF([test "x${have_avcodec}" = "xyes"], [
VLC_ADD_PLUGIN([stream_out_switcher])
- VLC_ADD_LIBS([stream_out_switcher],[$AVCODEC_LIBS])
- VLC_ADD_CFLAGS([stream_out_switcher],[$AVCODEC_CFLAGS])
+ VLC_ADD_LIBS([stream_out_switcher],[$AVCODEC_LIBS $AVUTIL_LIBS])
+ VLC_ADD_CFLAGS([stream_out_switcher],[$AVCODEC_CFLAGS $AVUTIL_CFLAGS])
],[AC_MSG_ERROR([Stream_out switcher depends on avcodec])
])
])
@@ -2894,8 +2894,8 @@ then
AC_CHECK_HEADERS(libavformat/avformat.h ffmpeg/avformat.h)
AC_CHECK_HEADERS(libavutil/avutil.h ffmpeg/avutil.h)
VLC_ADD_PLUGIN([avformat])
- VLC_ADD_LIBS([avformat],[$AVFORMAT_LIBS])
- VLC_ADD_CFLAGS([avformat],[$AVFORMAT_CFLAGS])
+ VLC_ADD_LIBS([avformat],[$AVFORMAT_LIBS $AVUTIL_LIBS])
+ VLC_ADD_CFLAGS([avformat],[$AVFORMAT_CFLAGS $AVUTIL_CFLAGS])
VLC_RESTORE_FLAGS
],[
AC_MSG_ERROR([Could not find libavformat or libavutil. Use --disable-avformat to ignore this error.])
@@ -2941,8 +2941,8 @@ then
CFLAGS="${CFLAGS} ${POSTPROC_CFLAGS}"
AC_CHECK_HEADERS(libpostproc/postproc.h postproc/postprocess.h)
VLC_ADD_PLUGIN([postproc])
- VLC_ADD_LIBS([postproc],[$POSTPROC_LIBS])
- VLC_ADD_CFLAGS([postproc],[$POSTPROC_CFLAGS])
+ VLC_ADD_LIBS([postproc],[$POSTPROC_LIBS $AVUTIL_LIBS])
+ VLC_ADD_CFLAGS([postproc],[$POSTPROC_CFLAGS $AVUTIL_CFLAGS])
VLC_RESTORE_FLAGS
],[
AC_MSG_ERROR([Could not find libpostproc. Use --disable-postproc to ignore this error.])
More information about the vlc-devel
mailing list