changeset 1599:1be19e4024a0 libavformat

Register x11grab only when it has been enabled.
author diego
date Sat, 23 Dec 2006 07:19:56 +0000
parents 9832e339fb70
children 72cb68e511e4
files allformats.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
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