summaryrefslogtreecommitdiffstats
path: root/TOOLS/realcodecs/drv2.c
diff options
context:
space:
mode:
Diffstat (limited to 'TOOLS/realcodecs/drv2.c')
-rw-r--r--TOOLS/realcodecs/drv2.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/TOOLS/realcodecs/drv2.c b/TOOLS/realcodecs/drv2.c
index 316ce72f1c..1b5d97c2a1 100644
--- a/TOOLS/realcodecs/drv2.c
+++ b/TOOLS/realcodecs/drv2.c
@@ -175,7 +175,7 @@ static void hexdump(void *pos, int len) {
ulong RV20toYUV420CustomMessage(ulong* p1,ulong p2) {
ulong result;
- ulong *pp1=p1;
+// ulong *pp1=p1;
ulong temp[16];
fprintf(stderr, "#R# => RV20toYUV420CustomMessage(%p,%p) [%d,%d,%d] \n", p1, p2, p1[0],p1[1],p1[2]);
@@ -313,7 +313,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++);
@@ -345,7 +346,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