Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 201983
b: refs/heads/master
c: 2584bc4
h: refs/heads/master
i:
  201981: bf17fd9
  201979: bc7d1dd
  201975: 93ef485
  201967: 7f4459a
  201951: d79266e
  201919: 0c2d3e0
  201855: f0c69eb
  201727: bce1f8f
v: v3
  • Loading branch information
Devin Heitmueller authored and Mauro Carvalho Chehab committed Aug 2, 2010
1 parent 9f9db16 commit 16e5380
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: 7f8eacd2162a39ca7fc1240883118a786f147ccb
refs/heads/master: 2584bc4337855382d23b4abfc2e2492df6fdeb41
4 changes: 2 additions & 2 deletions trunk/drivers/media/video/em28xx/em28xx-video.c
Original file line number Diff line number Diff line change
Expand Up @@ -654,12 +654,12 @@ static inline int em28xx_isoc_copy_vbi(struct em28xx *dev, struct urb *urb)
}

if (buf != NULL && dev->capture_type == 2) {
if (len > 4 && p[0] == 0x88 && p[1] == 0x88 &&
if (len >= 4 && p[0] == 0x88 && p[1] == 0x88 &&
p[2] == 0x88 && p[3] == 0x88) {
p += 4;
len -= 4;
}
if (len > 4 && p[0] == 0x22 && p[1] == 0x5a) {
if (len >= 4 && p[0] == 0x22 && p[1] == 0x5a) {
em28xx_isocdbg("Video frame %d, len=%i, %s\n",
p[2], len, (p[2] & 1) ?
"odd" : "even");
Expand Down

0 comments on commit 16e5380

Please sign in to comment.