[SCM] libav/experimental: Properly quote paths on grep invocations for codec lists. patch by Steve Lhomme, slhomme divxcorp com

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:52:57 UTC 2013


The following commit has been merged in the experimental branch:
commit 13638ea92adea433d3d1ca98cdf9a0d113c56210
Author: Steve L'Homme <slhomme at divxcorp.com>
Date:   Sat Nov 4 19:06:15 2006 +0000

    Properly quote paths on grep invocations for codec lists.
    patch by Steve Lhomme, slhomme divxcorp com
    
    Originally committed as revision 6895 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/configure b/configure
index 462d253..2ae0c9c 100755
--- a/configure
+++ b/configure
@@ -680,11 +680,11 @@ for opt do
   FFMPEG_CONFIGURATION="$FFMPEG_CONFIGURATION""$opt "
 done
 
-ENCODER_LIST=`grep 'register_avcodec(&[a-z0-9_]*_encoder)' $source_path/libavcodec/allcodecs.c  | sed 's/.*&\(.*\)).*/\1/'`
-DECODER_LIST=`grep 'register_avcodec(&[a-z0-9_]*_decoder)' $source_path/libavcodec/allcodecs.c  | sed 's/.*&\(.*\)).*/\1/'`
-PARSER_LIST=`grep 'av_register_codec_parser(&[a-z]' $source_path/libavcodec/allcodecs.c  | sed 's/.*&\(.*\)).*/\1/'`
-MUXER_LIST=`grep 'av_register_output_format(&[a-z]' $source_path/libavformat/allformats.c  | sed 's/.*&\(.*\)).*/\1/'`
-DEMUXER_LIST=`grep 'av_register_input_format(&[a-z]' $source_path/libavformat/allformats.c  | sed 's/.*&\(.*\)).*/\1/'`
+ENCODER_LIST=`grep 'register_avcodec(&[a-z0-9_]*_encoder)' "$source_path/libavcodec/allcodecs.c"  | sed 's/.*&\(.*\)).*/\1/'`
+DECODER_LIST=`grep 'register_avcodec(&[a-z0-9_]*_decoder)' "$source_path/libavcodec/allcodecs.c"  | sed 's/.*&\(.*\)).*/\1/'`
+PARSER_LIST=`grep 'av_register_codec_parser(&[a-z]' "$source_path/libavcodec/allcodecs.c"  | sed 's/.*&\(.*\)).*/\1/'`
+MUXER_LIST=`grep 'av_register_output_format(&[a-z]' "$source_path/libavformat/allformats.c"  | sed 's/.*&\(.*\)).*/\1/'`
+DEMUXER_LIST=`grep 'av_register_input_format(&[a-z]' "$source_path/libavformat/allformats.c"  | sed 's/.*&\(.*\)).*/\1/'`
 
 for opt do
   optval="${opt#*=}"

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list