@@ -228,7 +228,7 @@ static int copy_streams(u8 *data, unsigned long len,
u8 *ptr = data, *endp = data+len, c;
unsigned long header = 0;
int rc = 0;
- unsigned int cmd, cpysize, pktsize, size, field, block, line, pos = 0;
+ unsigned int cmd, cpysize, pktsize, size, field = 0, block, line, pos = 0;
struct tm6000_buffer *vbuf = NULL;
char *voutp = NULL;
unsigned int linewidth;
@@ -359,7 +359,8 @@ static int copy_streams(u8 *data, unsigned long len,
/* Need some code to copy pts */
u32 pts;
pts = *(u32 *)ptr;
- printk(KERN_INFO "%s: field %d, PTS %x", dev->name, field, pts);
+ dprintk(dev, V4L2_DEBUG_ISOC, "field %d, PTS %x",
+ field, pts);
break;
}
}