Add --disable-protocols option to configure to disable I/O protocol from

libavformat.  Also fix build with --disable-muxers and --disable-ffserver.
patch by Gildas Bazin < gbazin **@** altern **.** org >

Originally committed as revision 4879 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Gildas Bazin
2006-01-21 18:36:32 +00:00
committed by Diego Biurrun
parent 62327e2852
commit 04f46ced8c
6 changed files with 34 additions and 13 deletions

View File

@@ -130,6 +130,7 @@ void av_register_all(void)
// av_register_image_format(&sgi_image_format); heap corruption, dont enable
#endif //CONFIG_MUXERS
#ifdef CONFIG_PROTOCOLS
/* file protocols */
register_protocol(&file_protocol);
register_protocol(&pipe_protocol);
@@ -141,4 +142,5 @@ void av_register_all(void)
register_protocol(&tcp_protocol);
register_protocol(&http_protocol);
#endif
#endif
}