aboutsummaryrefslogtreecommitdiff
path: root/libavformat/allformats.c
diff options
context:
space:
mode:
authorGildas Bazin2006-01-21 18:36:32 +0000
committerDiego Biurrun2006-01-21 18:36:32 +0000
commit04f46ced8c6e309b561ba315ef7d3a5421bd26fa (patch)
treedc2131c4551d25a00a7d7fe62952a81ac8c47678 /libavformat/allformats.c
parent62327e2852ffe1c3088feafa0dfbd4ddb6632064 (diff)
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
Diffstat (limited to 'libavformat/allformats.c')
-rw-r--r--libavformat/allformats.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/allformats.c b/libavformat/allformats.c
index e82f65841c..ce2d6911b3 100644
--- a/libavformat/allformats.c
+++ b/libavformat/allformats.c
@@ -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
}