Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: AIO and mad-0.14.2b.tar.gz



On 11 May 2002 Paul Lacatus <paul@campina.iiruc.ro> wrote:

> I want to compile VDR for DVD replay with AIO patch. I can't find the 
> mad-0.14.2b.tar.gz file and when I try to compile without it and even 
> when I do not use VCD=1 and MP3=1 options I got the error:
> 
> vdr.c: In function `int main (int, char **)':
> vdr.c:200: `MOUNT_HELP' undeclared (first use this function)
> vdr.c:200: (Each undeclared identifier is reported only once for each
> function it appears in.)
> vdr.c:201: `MPLAYER_HELP' undeclared (first use this function)
> make: *** [vdr.o] Error 1

It's a bug. Never tried to compile without MP3 and MPLAYER.

--- vdr-1.0.2-mp3-0.4.2/mp3.h	Sun May  5 17:49:30 2002
+++ vdr-1.0.2-mp3/mp3.h	Mon May 13 17:56:11 2002
@@ -23,6 +23,17 @@
 #define _MP3_H
 
 #if defined(MP3SUPPORT) || defined(MPLAYER)
+#define MOUNT_HELP mountscript
+#else
+#define MOUNT_HELP "none"
+#endif 
+#ifdef MPLAYER
+#define MPLAYER_HELP MPlayerCmd
+#else
+#define MPLAYER_HELP "none"
+#endif
+
+#if defined(MP3SUPPORT) || defined(MPLAYER)
 
 #ifdef MP3SUPPORT
 #include <mad.h>
@@ -33,17 +44,6 @@
 #include "dvbapi.h"
 
 #define MP3VERSION "0.4.2"
-
-#if defined(MP3SUPPORT) || defined(MPLAYER)
-#define MOUNT_HELP mountscript
-#else
-#define MOUNT_HELP "none"
-#endif 
-#ifdef MPLAYER
-#define MPLAYER_HELP MPlayerCmd
-#else
-#define MPLAYER_HELP "none"
-#endif
 
 // ----------------------------------------------------------------
 // - MP3 & MPLAYER ------------------------------------------------


-- 
Stefan Huelswitt
huels@iname.com  | http://home.pages.de/~nathan



Home | Main Index | Thread Index