[MPlayer-dev-eng] [FFmpeg-devel] [PATCH] fix compilation w/o librtmp

Howard Chu hyc at highlandsun.com
Sun May 30 19:22:45 CEST 2010


I see It's already been fixed. Otherwise, I would have patched it like this:

Index: configure
===================================================================
--- configure	(revision 31277)
+++ configure	(working copy)
@@ -7233,10 +7233,12 @@
  fi
  if test "$_librtmp" = yes && test "$_network" = yes; then
    def_librtmp='#define CONFIG_LIBRTMP 1'
+  conf_librtmp='CONFIG_LIBRTMP  = yes'
    inputmodules="librtmp $inputmodules"
  else
    _librtmp=no
    def_librtmp='#undef CONFIG_LIBRTMP'
+  conf_librtmp='!CONFIG_LIBRTMP = yes'
    noinputmodules="librtmp $noinputmodules"
  fi
  echores "$_librtmp"
@@ -8790,7 +8792,7 @@

  $mak_hardcoded_tables
  $mak_libavcodec_mpegaudio_hp
-CONFIG_LIBRTMP  = $_librtmp
+$conf_librtmp

  CONFIG_BZLIB    = $bzlib
  CONFIG_ENCODERS = yes

-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/



More information about the MPlayer-dev-eng mailing list