Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 202114
b: refs/heads/master
c: b5f5933
h: refs/heads/master
v: v3
  • Loading branch information
Dan Carpenter authored and Mauro Carvalho Chehab committed Aug 2, 2010
1 parent 254d9cf commit 11946ed
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: 49b7a12c0aa217c9fb163d330b5b80bafe55cb8b
refs/heads/master: b5f5933a6ab63725aedfb92f015007d4ccd33a55
4 changes: 3 additions & 1 deletion trunk/drivers/media/video/au0828/au0828-video.c
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ static void au0828_copy_vbi(struct au0828_dev *dev,
unsigned char *outp, unsigned long len)
{
unsigned char *startwrite, *startread;
int bytesperline = dev->vbi_width;
int bytesperline;
int i, j = 0;

if (dev == NULL) {
Expand All @@ -464,6 +464,8 @@ static void au0828_copy_vbi(struct au0828_dev *dev,
return;
}

bytesperline = dev->vbi_width;

if (dma_q->pos + len > buf->vb.size)
len = buf->vb.size - dma_q->pos;

Expand Down

0 comments on commit 11946ed

Please sign in to comment.