Fix codec list when running configure outside the source directory.
authorMåns Rullgård <mans@mansr.com>
Sat, 7 May 2005 09:48:38 +0000 (09:48 +0000)
committerMåns Rullgård <mans@mansr.com>
Sat, 7 May 2005 09:48:38 +0000 (09:48 +0000)
Originally committed as revision 4196 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index 1455338..f16f343 100755 (executable)
--- a/configure
+++ b/configure
@@ -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