20 Jan
2011
20 Jan
'11
5:45 a.m.
Without this it is possible that the a52 plugin ends up with an undefined reference to av_free(). --- configure.in | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/configure.in b/configure.in index 5d71cae..973900b 100644 --- a/configure.in +++ b/configure.in @@ -67,7 +67,8 @@ AC_ARG_ENABLE([avcodec], AS_HELP_STRING([--disable-avcodec], [Don't build plugins depending on avcodec (a52)]))
if test "x$enable_avcodec" != "xno"; then - PKG_CHECK_MODULES(AVCODEC, [libavcodec], [HAVE_AVCODEC=yes], [HAVE_AVCODEC=no]) + # you need libavutil linked in for av_free + PKG_CHECK_MODULES(AVCODEC, [libavcodec libavutil], [HAVE_AVCODEC=yes], [HAVE_AVCODEC=no]) fi
if test "x$HAVE_AVCODEC" = "xno"; then
--
1.7.4.rc2