[MPlayer-users] Re: configure in cvs

Robert Henney robh at rut.org
Wed Nov 29 06:14:17 CET 2006


On Tue, Nov 28, 2006 at 11:37:09PM -0500, Robert Henney wrote:
> On Tue, Nov 28, 2006 at 11:17:01PM -0500, Robert Henney wrote:
> > I've found that in order to get mplayer svn to build against the current
> > ffmpeg svn revision 7182, line 1590 of configure needs to be changed from:
> 
> I spoke too soon.  there's more to it than just that one line that appears to
> need changing.  starts to compile but fails.

I was just being blind.  attached is a patch that modifies the THREE
relevant lines in configure and should allow mplayer to build against the
latest ffmpeg svn.
-------------- next part --------------
Index: trunk/configure
===================================================================
--- trunk/configure	(revision 21370)
+++ trunk/configure	(working copy)
@@ -1585,9 +1585,9 @@
 _amr_nb=auto
 _amr_nb_fixed=auto
 _amr_wb=auto
-_libavdecoders=`grep 'register_avcodec(&[a-z0-9_]*_decoder)' libavcodec/allcodecs.c  | sed 's/.*&\(.*\)).*/\1/'`
-_libavencoders=`grep 'register_avcodec(&[a-z0-9_]*_encoder)' libavcodec/allcodecs.c  | sed 's/.*&\(.*\)).*/\1/'`
-_libavparsers=`grep 'av_register_codec_parser(&[a-z]' libavcodec/allcodecs.c  | sed 's/.*&\(.*\)).*/\1/'`
+_libavdecoders=`grep '^[^#]*REGISTER_.*DEC' libavcodec/allcodecs.c  | sed 's/.*, *\(.*\)).*/\1_decoder/'`
+_libavencoders=`grep '^[^#]*REGISTER_.*ENC' libavcodec/allcodecs.c  | sed 's/.*, *\(.*\)).*/\1_encoder/'`
+_libavparsers=`grep '^[^#]*REGISTER_PARSER' libavcodec/allcodecs.c  | sed 's/.*, *\(.*\)).*/\1_parser/'`
 _libavdemuxers=`sed -n 's/^[^#]*DEMUX.*, *\(.*\)).*/\1_demuxer/p' libavformat/allformats.c`
 _libavmuxers=`sed -n 's/^[^#]*_MUX.*, *\(.*\)).*/\1_muxer/p' libavformat/allformats.c`
 _libavcodec_so=auto


More information about the MPlayer-users mailing list