Mercurial > libavformat.hg
diff allformats.c @ 905:dbc0145bbf11 libavformat
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 >
| author | diego |
|---|---|
| date | Sat, 21 Jan 2006 18:36:32 +0000 |
| parents | edbe5c3717f9 |
| children | 547675092e98 |
line wrap: on
line diff
--- a/allformats.c Fri Jan 20 23:48:16 2006 +0000 +++ b/allformats.c Sat Jan 21 18:36:32 2006 +0000 @@ -130,6 +130,7 @@ // 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 @@ register_protocol(&tcp_protocol); register_protocol(&http_protocol); #endif +#endif }
