[Ffmpeg-cvslog] CVS: ffmpeg configure,1.200,1.201

Diego Biurrun CVS diego
Fri Sep 23 02:25:43 CEST 2005


Update of /cvsroot/ffmpeg/ffmpeg
In directory mail:/var2/tmp/cvs-serv19763

Modified Files:
	configure 
Log Message:
Replace CONFIG_ENCODERS/CONFIG_DECODERS with CONFIG_MUXERS/CONFIG_DEMUXERS
in libavformat to allow building (de)coders and (de)muxers independently at
some point + support for this option in configure.


Index: configure
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/configure,v
retrieving revision 1.200
retrieving revision 1.201
diff -u -d -r1.200 -r1.201
--- configure	21 Aug 2005 20:33:00 -0000	1.200
+++ configure	23 Sep 2005 00:25:41 -0000	1.201
@@ -78,6 +78,8 @@
 echo "  --disable-codec=codec    disables codec"
 echo "  --disable-encoders       disables all encoders"
 echo "  --disable-decoders       disables all decoders"
+echo "  --disable-muxers         disables all muxers"
+echo "  --disable-demuxers       disables all demuxers"
 echo ""
 echo "NOTE: The object files are build at the place where configure is launched"
 exit 1
@@ -218,6 +220,8 @@
 pthreads="no"
 gpl="no"
 memalignhack="no"
+muxers="yes"
+demuxers="yes"
 
 # OS specific
 targetos=`uname -s`
@@ -533,6 +537,10 @@
   ;;
   --disable-decoders) CODEC_LIST="`echo $CODEC_LIST | sed 's/[-_a-zA-Z0-9]*decoder//g'`"
   ;;
+  --disable-muxers) muxers="no"
+  ;;
+  --disable-demuxers) demuxers="no"
+  ;;
   esac
 done
 
@@ -1399,6 +1407,18 @@
 echo "#define CONFIG_DECODERS 1" >> $TMPH
 echo "CONFIG_DECODERS=yes" >> config.mak
 
+# muxers
+if test "$muxers" = "yes" ; then
+  echo "#define CONFIG_MUXERS 1" >> $TMPH
+  echo "CONFIG_MUXERS=yes" >> config.mak
+fi
+
+# demuxers
+if test "$demuxers" = "yes" ; then
+  echo "#define CONFIG_DEMUXERS 1" >> $TMPH
+  echo "CONFIG_DEMUXERS=yes" >> config.mak
+fi
+
 # AC3
 if test "$a52" = "yes" ; then
   echo "#define CONFIG_AC3 1" >> $TMPH





More information about the ffmpeg-cvslog mailing list