From 24a9ad7e2c9950e1e24a321eed8059f34096f759 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?M=C3=A5ns=20Rullg=C3=A5rd?= <mans@mansr.com>
Date: Sat, 7 May 2005 09:48:38 +0000
Subject: [PATCH] Fix codec list when running configure outside the source
 directory.

Originally committed as revision 4196 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure b/configure
index 14553380e43..f16f343b93a 100755
--- 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
-- 
GitLab