[Mplayer-cvslog] CVS: main xacodec.c,1.3,1.4

Arpi of Ize arpi at mplayer.dev.hu
Mon Oct 22 20:52:36 CEST 2001


Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv23060

Modified Files:
	xacodec.c 
Log Message:
fixing...

Index: xacodec.c
===================================================================
RCS file: /cvsroot/mplayer/main/xacodec.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- xacodec.c	22 Oct 2001 17:49:17 -0000	1.3
+++ xacodec.c	22 Oct 2001 18:52:10 -0000	1.4
@@ -61,7 +61,7 @@
 
     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 @@
     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 @@
     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)())




More information about the MPlayer-cvslog mailing list