[MPlayer-dev-eng] [PATCH] Fix configure for ffmpeg r7182

Carl Eugen Hoyos cehoyos at ag.or.at
Wed Nov 29 05:41:31 CET 2006


Hi!

Encoder/decoder/parser registration changed in ffmpeg r7182, attached patch is 
needed to compile MPlayer now.

Please apply, Carl Eugen
-------------- next part --------------
Index: configure
===================================================================
--- configure	(Revision 21370)
+++ configure	(Arbeitskopie)
@@ -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=`sed -n 's/^[^#]*DEC.*, *\(.*\)).*/\1_decoder/p' "libavcodec/allcodecs.c"`
+_libavencoders=`sed -n 's/^[^#]*ENC.*, *\(.*\)).*/\1_encoder/p' "libavcodec/allcodecs.c"`
+_libavparsers=`sed -n 's/^[^#]*PARSER.*, *\(.*\)).*/\1_parser/p' "libavcodec/allcodecs.c"`
 _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-dev-eng mailing list