Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 201948
b: refs/heads/master
c: 758bb0b
h: refs/heads/master
v: v3
  • Loading branch information
Mauro Carvalho Chehab committed Aug 2, 2010
1 parent f6ae245 commit 98dd072
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d0669c872ff68cac5ab312569e716c12171440a9
refs/heads/master: 758bb0b3e77d7876b76e48b4ac20f473be004421
3 changes: 1 addition & 2 deletions trunk/drivers/staging/tm6000/tm6000-video.c
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,6 @@ static inline void get_next_buf(struct tm6000_dmaqueue *dma_q,

/* Cleans up buffer - Usefull for testing for frame/URB loss */
outp = videobuf_to_vmalloc(&(*buf)->vb);
// if (outp)
// memset(outp, 0, (*buf)->vb.size);

return;
}
Expand Down Expand Up @@ -272,6 +270,7 @@ static int copy_streams(u8 *data, unsigned long len,
voutp = videobuf_to_vmalloc (&vbuf->vb);
if (!voutp)
return rc;
memset(voutp, 0, vbuf->vb.size);
}
linewidth = vbuf->vb.width << 1;
pos = ((line << 1) - field - 1) * linewidth +
Expand Down

0 comments on commit 98dd072

Please sign in to comment.