summaryrefslogtreecommitdiffstats
path: root/spudec.c
diff options
context:
space:
mode:
authorpl <pl@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-11-28 12:44:39 +0000
committerpl <pl@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-11-28 12:44:39 +0000
commitb7ff737901eeb3425e56a587f812c34ff969a776 (patch)
tree4e0f8e0db98bfd645249781a2cb8d78cb50d2319 /spudec.c
parent4376937df653dc206720ab0d0e40811b3cef6134 (diff)
downloadmpv-b7ff737901eeb3425e56a587f812c34ff969a776.tar.bz2
mpv-b7ff737901eeb3425e56a587f812c34ff969a776.tar.xz
spudec_new has a dvd_priv_t as an argument, which is defined in
libmpdemux/stream.h only if USE_DVDREAD is defined. (Arpi) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3181 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'spudec.c')
-rw-r--r--spudec.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/spudec.c b/spudec.c
index d263a59b6a..a247a6828c 100644
--- a/spudec.c
+++ b/spudec.c
@@ -11,6 +11,8 @@
*/
+#ifdef USE_DVDREAD
+
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
@@ -318,3 +320,6 @@ void spudec_free(void *this)
free(spu);
}
}
+
+#endif /* USE_DVDREAD */
+