Fix codec list when running configure outside the source directory.

Originally committed as revision 4196 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Måns Rullgård 2005-05-07 09:48:38 +00:00
parent 34f633dfcb
commit 24a9ad7e2c

2
configure vendored
View File

@ -379,7 +379,7 @@ for opt do
FFMPEG_CONFIGURATION="$FFMPEG_CONFIGURATION""$opt "
done
CODEC_LIST=`grep 'register_avcodec(&[a-z]' libavcodec/allcodecs.c | sed 's/.*&\(.*\)).*/\1/'`
CODEC_LIST=`grep 'register_avcodec(&[a-z]' $source_path/libavcodec/allcodecs.c | sed 's/.*&\(.*\)).*/\1/'`
for opt do
case "$opt" in