[Mplayer-cvslog] CVS: main/TOOLS/realcodecs drv2.c,1.1,1.2 drv3.c,1.1,1.2

Arpi of Ize arpi at mplayerhq.hu
Tue Oct 22 17:55:49 CEST 2002


Update of /cvsroot/mplayer/main/TOOLS/realcodecs
In directory mail:/var/tmp.root/cvs-serv14083

Modified Files:
	drv2.c drv3.c 
Log Message:
some fixes


Index: drv2.c
===================================================================
RCS file: /cvsroot/mplayer/main/TOOLS/realcodecs/drv2.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- drv2.c	28 Aug 2002 14:17:06 -0000	1.1
+++ drv2.c	22 Oct 2002 15:55:40 -0000	1.2
@@ -189,12 +189,23 @@
 */
 	
 	if(p1[0]==0x24){
+#if 1
 	    hexdump(p1[2],64);
 	    memset(temp,0x77,16*4);
 	    memcpy(temp,p1[2],16);
 	    p1[2]=temp;
+#endif
 	} else {
-//	    return 0;
+	    switch(p1[0]){
+	    case 17:
+		if(p1[1]==1)
+		break;
+	    case 18:
+	    case 30:
+	    case 3:
+	    default:
+		return 0;
+	    }
 	}
 //	fprintf(stderr, "ulong p2=0x%0x(%d))\n", p2, p2);
 //	hexdump((void*)p1, 12);
@@ -230,11 +241,16 @@
 //	hexdump((void*)p1, sizeof(struct init_data));
 
 	fprintf(stderr,">HIVE %d %p\n",p1[0],p1[1]);
+	
+	if(p1[0]!=0) return 0;
+	
+	p1[1]=0x10000000;
+	return 0;
 
-	fprintf(stderr,"COPY INIT DATA!\n");
+//	fprintf(stderr,"COPY INIT DATA!\n");
 	memset(h_temp,0x77,1000);
 	memcpy(h_temp,p1,4);
-	fprintf(stderr,"COPY OK!\n");
+//	fprintf(stderr,"COPY OK!\n");
 	
 //	tic();
 //	result=(*rvyuvHiveMessage)(p1,p2);

Index: drv3.c
===================================================================
RCS file: /cvsroot/mplayer/main/TOOLS/realcodecs/drv3.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- drv3.c	28 Aug 2002 14:17:06 -0000	1.1
+++ drv3.c	22 Oct 2002 15:55:40 -0000	1.2
@@ -176,9 +176,9 @@
 	ulong *pp1=p1;
 	ulong temp[16];
 	fprintf(stderr, "#R# => RV20toYUV420CustomMessage(%p,%p) [%d,%d,%d] \n", p1, p2, p1[0],p1[1],p1[2]);
-#if 0
+#if 1
 	if(p1[0]==0x24){
-	    hexdump(p1[2],64);
+	    hexdump(p1[2],16);
 	    memset(temp,0x77,16*4);
 	    memcpy(temp,p1[2],16);
 	    p1[2]=temp;




More information about the MPlayer-cvslog mailing list