From db124c90a3cf8f4e7ba3ebf0853df158cfcf2f7f Mon Sep 17 00:00:00 2001
From: diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>
Date: Thu, 26 Apr 2007 12:09:20 +0000
Subject: [PATCH] Move misplaced res_comment to where it actually takes effect.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23123 b3059339-0415-0410-9bf9-f77b7e298cf2
---
 configure | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/configure b/configure
index 1ebbb8e5f7..377ef9a4a0 100755
--- a/configure
+++ b/configure
@@ -6186,7 +6186,6 @@ echocheck "FFmpeg libavcodec"
 if test "$_libavcodec_a" = auto ; then
   # Note: static linking is preferred to dynamic linking
   _libavcodec=no
-  _res_comment="static"
   if test -d libavcodec && test -f libavcodec/utils.c ; then
     _res_comment="old ffmpeg version, use CVS !"
     if grep avcodec_find_encoder_by_name libavcodec/utils.c > /dev/null 2>&1 ; then
@@ -6207,7 +6206,7 @@ EOF
       _res_comment="libavutil availability does not fit libavcodec version"
       if test "$_libavutil_required" = "$_libavutil_a"; then
         _libavcodec_a="yes"
-        _res_comment=""
+        _res_comment="static"
       fi
     fi
   fi