Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 193163
b: refs/heads/master
c: 3c7c5e9
h: refs/heads/master
i:
  193161: 04a683c
  193159: 5afba2e
v: v3
  • Loading branch information
Stefan Ringel authored and Mauro Carvalho Chehab committed May 19, 2010
1 parent 4618b10 commit 1ed9b9b
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 083e472176999de97848e5659cc958516ef81ecb
refs/heads/master: 3c7c5e9e8903f201bdbc85bdffba47a2d1352e4c
4 changes: 2 additions & 2 deletions trunk/drivers/staging/tm6000/tm6000-video.c
Original file line number Diff line number Diff line change
Expand Up @@ -225,8 +225,8 @@ static int copy_packet(struct urb *urb, u32 header, u8 **ptr, u8 *endp,
* It should, instead, check if the user selected
* entrelaced or non-entrelaced mode
*/
pos= ((line<<1)+field)*linewidth +
block*TM6000_URB_MSG_LEN;
pos = ((line << 1) - field - 1) * linewidth +
block * TM6000_URB_MSG_LEN;

/* Don't allow to write out of the buffer */
if (pos+TM6000_URB_MSG_LEN > (*buf)->vb.size) {
Expand Down

0 comments on commit 1ed9b9b

Please sign in to comment.