[vlc-devel] external libamrnb and libamrwb in ffmeg

Stone syphyr at gmail.com
Sun Apr 15 17:46:38 CEST 2007


Hi,

FFMpeg now uses external libamrnb and libamrwb libraries.  Attached patch
adds support to static library.

--- vlc-0.8.6.a.debian/configure.ac.orig        2007-04-15 07:54:
36.000000000 -0700
+++ vlc-0.8.6.a.debian/configure.ac     2007-04-15 07:57:02.000000000 -0700
@@ -2625,6 +2625,12 @@
    if fgrep -s "CONFIG_XVID=yes" "${real_ffmpeg_tree}/config.mak"; then
      VLC_ADD_LDFLAGS([ffmpeg],[-lxvidcore])
    fi
+   if fgrep -s "CONFIG_AMR=yes" "${real_ffmpeg_tree}/config.mak"; then
+     VLC_ADD_LDFLAGS([ffmpeg],[-lamrnb])
+   fi
+   if fgrep -s "CONFIG_AMR_WB=yes" "${real_ffmpeg_tree}/config.mak"; then
+     VLC_ADD_LDFLAGS([ffmpeg],[-lamrwb])
+   fi

    VLC_ADD_BUILTINS([ffmpeg])
    if test "${enable_sout}" != "no"; then
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20070415/ab976878/attachment.html>


More information about the vlc-devel mailing list