[Mplayer-cvslog] CVS: main xacodec.c,1.19,1.20
Alex Beregszaszi
alex at mplayer.dev.hu
Fri Oct 26 15:39:57 CEST 2001
Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv11454
Modified Files:
xacodec.c
Log Message:
libdl checking added
Index: xacodec.c
===================================================================
RCS file: /cvsroot/mplayer/main/xacodec.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- xacodec.c 23 Oct 2001 12:02:45 -0000 1.19
+++ xacodec.c 26 Oct 2001 13:39:15 -0000 1.20
@@ -30,6 +30,8 @@
#include "libvo/img_format.h"
#include "xacodec.h"
+#ifdef HAVE_LIBDL
+
#if 0
typedef char xaBYTE;
typedef short xaSHORT;
@@ -744,3 +746,25 @@
}
/* *** EOF XANIM *** */
+
+#else /* HAVE_LIBDL */
+
+int xacodec_init_video(void)
+{
+ mp_msg(MSGT_DEMUX, MSGL_FATAL, "xacodec needs libdl to work!\n");
+ return 0;
+}
+
+void xacodec_decode_frame(void)
+{
+ mp_msg(MSGT_DEMUX, MSGL_FATAL, "xacodec needs libdl to work!\n");
+ return NULL;
+}
+
+void xacodec_exit(void)
+{
+ mp_msg(MSGT_DEMUX, MSGL_FATAL, "xacodec needs libdl to work!\n");
+ return;
+}
+
+#endif /* HAVE_LIBDL */
More information about the MPlayer-cvslog
mailing list