changeset 22118:d389fe536db6

FFmpeg #defines must be uppercase now.
author diego
date Mon, 05 Feb 2007 07:33:00 +0000
parents 15bb9c161e94
children 3e7927290829
files configure
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Mon Feb 05 03:05:46 2007 +0000
+++ b/configure	Mon Feb 05 07:33:00 2007 +0000
@@ -5868,7 +5868,7 @@
 fi
 if test "$_faac" = yes ; then
   _def_faac="#define HAVE_FAAC 1"
-  if echo $_libavencoders | grep -q faac ; then
+  if echo $_libavencoders | grep -q FAAC ; then
     _lavc_faac=yes
     _def_lavc_faac="#define CONFIG_LIBFAAC 1"
     _libs_mplayer="$_libs_mplayer $_ld_faac"
@@ -6506,7 +6506,7 @@
   _x264=yes
   _def_x264='#define HAVE_X264 1'
   _codecmodules="x264 $_codecmodules"
-  if echo $_libavencoders | grep -q x264 ; then
+  if echo $_libavencoders | grep -q X264 ; then
     _lavc_x264=yes
     _def_lavc_x264='#define CONFIG_X264 1'
     _libs_mplayer="$_libs_mplayer $_ld_x264"
@@ -6573,7 +6573,7 @@
 int main(void) { lame_set_preset(NULL, MEDIUM_FAST); return 0; }
 EOF
     cc_check $_ld_mp3lame $_ld_lm && _def_mp3lame_preset_medium="#define HAVE_MP3LAME_PRESET_MEDIUM"
-    if echo $_libavencoders | grep -q mp3lame ; then
+    if echo $_libavencoders | grep -q MP3LAME ; then
       _lavc_mp3lame=yes
       _def_lavc_mp3lame="#define CONFIG_LIBMP3LAME 1"
       _libs_mplayer="$_libs_mplayer $_ld_mp3lame"
@@ -6595,7 +6595,7 @@
   _def_muxers='#define CONFIG_MUXERS 1'
 else
   # mpeg1video for vf_lavc, snow for vf_uspp and vf_mcdeint
-  _libavencoders="mpeg1video_encoder snow_encoder"
+  _libavencoders="MPEG1VIDEO_ENCODER SNOW_ENCODER"
   _libavmuxers=""
 fi
 echores "$_mencoder"