# HG changeset patch # User arpi # Date 1003772957 0 # Node ID 4edd4d7f45111190f603726f06109c51b1bb5d4b # Parent 0170742db0c8f4c95e3b14148cdb9b4ac1786b2e mplayerization diff -r 0170742db0c8 -r 4edd4d7f4511 xacodec.c --- a/xacodec.c Mon Oct 22 17:18:21 2001 +0000 +++ b/xacodec.c Mon Oct 22 17:49:17 2001 +0000 @@ -6,21 +6,25 @@ */ #include +#include + #include /* dlsym, dlopen, dlclose */ #include /* va_alist, va_start, va_end */ #include /* strerror, errno */ +#include "config.h" +#define XACODEC_PATH "/usr/lib/xanim" + #include "mp_msg.h" -#include "aclib/byteswap.h" +#include "bswap.h" #include "stream.h" #include "demuxer.h" #include "codec-cfg.h" -#include "wine/avifmt.h" -#include "wine/vfw.h" -#include "wine/mmreg.h" #include "stheader.h" -#include "loader/DirectShow/default.h" + +//#include "loader/DirectShow/default.h" + #include "libvo/img_format.h" #include "xacodec.h" @@ -247,7 +251,7 @@ vo_format_name(out_format)); return(0); } - odprintf(LOG_INFO, "xacodec: querying for %dx%d %dbit [fourcc: %4x] (%s)...\n", + mp_msg(MSGT_DECVIDEO,MSGL_INFO, "xacodec: querying for %dx%d %dbit [fourcc: %4x] (%s)...\n", codec_hdr.x, codec_hdr.y, codec_hdr.depth, codec_hdr.compression, codec_hdr.description); @@ -275,7 +279,7 @@ if (vidinfo->our_out_buffer == NULL) { - odprintf(LOG_ERROR, "cannot allocate memory for output: %s", + mp_msg(MSGT_DECVIDEO,MSGL_ERR, "cannot allocate memory for output: %s", strerror(errno)); return(0); }