summaryrefslogtreecommitdiff
path: root/libavformat/allformats.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2006-12-23 07:19:56 +0000
committerDiego Biurrun <diego@biurrun.de>2006-12-23 07:19:56 +0000
commit3a1018d4d893b64915b63c825365073cf5f45a1a (patch)
tree670c494629596425e122a6332bf0d93486bf8380 /libavformat/allformats.c
parentc52f5d66a2c97b34c725dfa0b0dc25da3a812db7 (diff)
Register x11grab only when it has been enabled.
Originally committed as revision 7366 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 3ef9bc3238..042c6982ba 100644
--- a/libavformat/allformats.c
+++ b/libavformat/allformats.c
@@ -166,7 +166,9 @@ void av_register_all(void)
REGISTER_DEMUXER (WSAUD, wsaud);
REGISTER_DEMUXER (WSVQA, wsvqa);
REGISTER_DEMUXER (WV, wv);
+#ifdef CONFIG_X11GRAB
REGISTER_DEMUXER (X11_GRAB_DEVICE, x11_grab_device);
+#endif
REGISTER_MUXDEMUX(YUV4MPEGPIPE, yuv4mpegpipe);
#ifdef CONFIG_PROTOCOLS