diff spudec.c @ 3180:d53f70e3c794

spudec_new has a dvd_priv_t as an argument, which is defined in libmpdemux/stream.h only if USE_DVDREAD is defined. (Arpi)
author pl
date Wed, 28 Nov 2001 12:44:39 +0000
parents 3538c34117a3
children ce9acee4e129
line wrap: on
line diff
--- a/spudec.c	Wed Nov 28 12:34:10 2001 +0000
+++ b/spudec.c	Wed Nov 28 12:44:39 2001 +0000
@@ -11,6 +11,8 @@
 
  */
 
+#ifdef USE_DVDREAD
+
 #include <errno.h>
 #include <stdio.h>
 #include <stdlib.h>
@@ -318,3 +320,6 @@
     free(spu);
   }
 }
+
+#endif /* USE_DVDREAD */
+