diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-08-27 11:08:19 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-08-27 11:08:19 +0000 |
commit | 068d66d0a0b27279303a19c3cdd595134ee27ba3 (patch) | |
tree | 2918a06b76b070706a60476ee52338bc56f12ab9 | |
parent | 952b64b0d33f30ffabc78763a4e4e4bd5181231e (diff) |
warning fixes:
realcodecs/drv4.c: In function 'RV20toYUV420CustomMessage':
realcodecs/drv4.c:151: warning: unused variable 'temp'
realcodecs/drv4.c:150: warning: unused variable 'pp1'
realcodecs/drv4.c: In function 'build_crc':
realcodecs/drv4.c:263: warning: unused variable 'b'
realcodecs/drv4.c: In function 'RV20toYUV420Transform':
realcodecs/drv4.c:295: warning: unused variable 'crc2'
realcodecs/drv4.c:295: warning: unused variable 'crc1'
realcodecs/drv4.c:295: warning: unused variable 'len'
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24239 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | TOOLS/realcodecs/drv4.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/TOOLS/realcodecs/drv4.c b/TOOLS/realcodecs/drv4.c index 4137c050a5..8033c1bae8 100644 --- a/TOOLS/realcodecs/drv4.c +++ b/TOOLS/realcodecs/drv4.c @@ -147,8 +147,8 @@ static void hexdump(void *pos, int len) { ulong RV20toYUV420CustomMessage(ulong* p1,ulong p2) { ulong result; - ulong *pp1=p1; - ulong temp[16]; +// 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(p1[0]==0x24){ @@ -260,7 +260,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++); @@ -292,7 +293,8 @@ ulong RV20toYUV420Transform(ulong p1,ulong p2,ulong p3,ulong p4,ulong p5) { 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 |