diff allformats.c @ 1599:1be19e4024a0 libavformat

Register x11grab only when it has been enabled.
author diego
date Sat, 23 Dec 2006 07:19:56 +0000
parents 32bfc91cb541
children 6238b40b7aef
line wrap: on
line diff
--- a/allformats.c	Fri Dec 22 23:44:04 2006 +0000
+++ b/allformats.c	Sat Dec 23 07:19:56 2006 +0000
@@ -166,7 +166,9 @@
     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