changeset 21306:df74299363e8

Sync with FFmpeg changes for (de)muxer registration.
author diego
date Mon, 27 Nov 2006 13:19:34 +0000
parents 85243ead817e
children 5fdf546b4e57
files configure
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Mon Nov 27 13:03:11 2006 +0000
+++ b/configure	Mon Nov 27 13:19:34 2006 +0000
@@ -1570,8 +1570,8 @@
 _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/'`
-_libavdemuxers=`grep 'av_register_input_format(&[a-z]' libavformat/allformats.c  | sed 's/.*&\(.*\)).*/\1/'`
-_libavmuxers=`grep 'av_register_output_format(&[a-z]' libavformat/allformats.c  | sed 's/.*&\(.*\)).*/\1/'`
+_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
 _libavformat=auto
 _libavformat_so=auto