[MPlayer-cvslog] r24238 - trunk/TOOLS/realcodecs/drv3.c

diego subversion at mplayerhq.hu
Mon Aug 27 13:05:40 CEST 2007


Author: diego
Date: Mon Aug 27 13:05:40 2007
New Revision: 24238

Log:
warning fixes:
realcodecs/drv3.c: In function 'build_crc':
realcodecs/drv3.c:291: warning: unused variable 'b'
realcodecs/drv3.c: In function 'RV20toYUV420Transform':
realcodecs/drv3.c:323: warning: unused variable 'crc2'
realcodecs/drv3.c:323: warning: unused variable 'crc1'
realcodecs/drv3.c:323: warning: unused variable 'len'


Modified:
   trunk/TOOLS/realcodecs/drv3.c

Modified: trunk/TOOLS/realcodecs/drv3.c
==============================================================================
--- trunk/TOOLS/realcodecs/drv3.c	(original)
+++ trunk/TOOLS/realcodecs/drv3.c	Mon Aug 27 13:05:40 2007
@@ -288,7 +288,8 @@ ulong RV20toYUV420Init(ulong p1,ulong p2
 }
 
 unsigned long build_crc(unsigned char *pch, unsigned long len) {
-	unsigned long crc=0, a, b;
+	unsigned long crc=0, a;
+//	unsigned long b;
 	// it's not the real crc function, but so what...
 	while (len--) {
 		a=*(pch++);
@@ -320,7 +321,8 @@ ulong RV20toYUV420Transform(ulong p1,ulo
 	ulong temp[128];
 	int i;
 
-	unsigned long len,crc_src, crc0, crc1, crc2;
+	unsigned long crc_src, crc0;
+//	unsigned long len, crc1, crc2;
 	unsigned char *pch=(char *)p1;
 	fprintf(stderr, "#R# RV20toYUV420Transform(in=%p,out=%p,tin=%p,tout=%p,yuv=%p)\n",p1,p2,p3,p4,p5);
 	// input data, length=*p3



More information about the MPlayer-cvslog mailing list