[SCM] libav/experimental: cosmetics: Better variable name, the ENABLE_* lists contain more than codecs.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:58:29 UTC 2013


The following commit has been merged in the experimental branch:
commit 1a2a5b3ecdff0472ee402e494bc8d2ee33ecbcd2
Author: Diego Biurrun <diego at biurrun.de>
Date:   Tue Apr 3 13:10:37 2007 +0000

    cosmetics: Better variable name, the ENABLE_* lists contain more than codecs.
    
    Originally committed as revision 8607 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/configure b/configure
index 12f2877..50c3570 100755
--- a/configure
+++ b/configure
@@ -2017,11 +2017,11 @@ else
 fi
 
 
-for codec in $DECODER_LIST $ENCODER_LIST $PARSER_LIST $DEMUXER_LIST $MUXER_LIST; do
-    ucname="`toupper $codec`"
+for part in $DECODER_LIST $ENCODER_LIST $PARSER_LIST $DEMUXER_LIST $MUXER_LIST; do
+    ucname="`toupper $part`"
     config_name="CONFIG_$ucname"
     enabled_name="ENABLE_$ucname"
-    if enabled $codec; then
+    if enabled $part; then
         echo "#define $config_name 1" >> $TMPH
         echo "#define $enabled_name 1" >> $TMPH
         echo "$config_name=yes" >> config.mak

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list