diff options
author | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-10-22 18:52:10 +0000 |
---|---|---|
committer | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-10-22 18:52:10 +0000 |
commit | 69569820d6e25344e6ffac1c9cb01b65d692cd87 (patch) | |
tree | 126470c251b50607ab3aef8637a53ede297781ca /xacodec.c | |
parent | aafae55a5b540e5abb7f48e9d96a08f052c1a4d6 (diff) | |
download | mpv-69569820d6e25344e6ffac1c9cb01b65d692cd87.tar.bz2 mpv-69569820d6e25344e6ffac1c9cb01b65d692cd87.tar.xz |
fixing...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2378 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'xacodec.c')
-rw-r--r-- | xacodec.c | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -61,7 +61,7 @@ int XA_Print(char *fmt, ...) va_start(vallist, fmt); vsnprintf(buf, 1024, fmt, vallist); - mp_msg(MSGT_DECVIDEO, MSGL_HINT, "[xacodec] %s", buf); + mp_msg(MSGT_DECVIDEO, MSGL_DBG2, "[xacodec] %s\n", buf); va_end(vallist); } @@ -273,9 +273,10 @@ int xacodec_init_video(sh_video_t *vidinfo, int out_format) xacodec_driver->decinfo->special = 0; xacodec_driver->decinfo->extra = codec_hdr.extra; +// vidinfo->our_out_buffer = malloc(codec_hdr.y * codec_hdr.x * ((codec_hdr.depth+7)/8)); vidinfo->our_out_buffer = malloc(codec_hdr.y * codec_hdr.x * codec_hdr.depth); - printf("out_buf size: %d\n", codec_hdr.y * codec_hdr.x * codec_hdr.depth); +// printf("out_buf size: %d\n", codec_hdr.y * codec_hdr.x * codec_hdr.depth); if (vidinfo->our_out_buffer == NULL) { @@ -478,10 +479,15 @@ void *YUV2x2_Blk_Func(unsigned int image_type, int blks, unsigned int dith_flag) return((void *)color_func); } +void dummy(){ + XA_Print("dummy() called"); +} + void *YUV2x2_Map_Func(unsigned int image_type, unsigned int dith_type) { XA_Print("YUV2x2_Map_Func('image_type: %d', 'dith_type: %d')", image_type, dith_type); + return (void*)dummy; } int XA_Add_Func_To_Free_Chain(XA_ANIM_HDR *anim_hdr, void (*function)()) |