mirror of
https://github.com/mpv-player/mpv
synced 2024-12-20 22:02:59 +00:00
libdl checking added
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2482 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
097f268a0d
commit
6f67e58bce
24
xacodec.c
24
xacodec.c
@ -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 @@ void *XA_YUV221111_Func(unsigned int image_type)
|
||||
}
|
||||
|
||||
/* *** 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 */
|
||||
|
Loading…
Reference in New Issue
Block a user