diff options
author | Steve L'Homme <slhomme@divxcorp.com> | 2006-11-04 19:06:15 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2006-11-04 19:06:15 +0000 |
commit | 13638ea92adea433d3d1ca98cdf9a0d113c56210 (patch) | |
tree | b248e8d5a6906ae4ec8d710d3b733eead36ba171 | |
parent | 483b8b12109763e460b9f2ecf9cd9acf302bb79d (diff) | |
download | ffmpeg-13638ea92adea433d3d1ca98cdf9a0d113c56210.tar.gz |
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
-rwxr-xr-x | configure | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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#*=}" |