[MPlayer-cvslog] r29475 - trunk/command.c

diego subversion at mplayerhq.hu
Tue Aug 4 01:04:04 CEST 2009


Author: diego
Date: Tue Aug  4 01:04:04 2009
New Revision: 29475

Log:
Only #include stream/stream_dvd.h when libdvdread is enabled.
stream_dvd.h #includes some system headers that may be unavailable.
Fixes compilation with libdvdread disabled.

Modified:
   trunk/command.c

Modified: trunk/command.c
==============================================================================
--- trunk/command.c	Mon Aug  3 18:31:55 2009	(r29474)
+++ trunk/command.c	Tue Aug  4 01:04:04 2009	(r29475)
@@ -34,7 +34,9 @@
 #ifdef CONFIG_DVBIN
 #include "stream/dvbin.h"
 #endif
+#ifdef CONFIG_DVDREAD
 #include "stream/stream_dvd.h"
+#endif
 #include "stream/stream_dvdnav.h"
 #include "libass/ass.h"
 #include "libass/ass_mp.h"


More information about the MPlayer-cvslog mailing list