Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 92385
b: refs/heads/master
c: 05b2079
h: refs/heads/master
i:
  92383: ef10dee
v: v3
  • Loading branch information
Roel Kluin authored and Mauro Carvalho Chehab committed Apr 24, 2008
1 parent cb59636 commit 0e095b4
Show file tree
Hide file tree
Showing 2 changed files with 2 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: ef6ad5c35ed7233e7aafcc5645a1470199b10cc7
refs/heads/master: 05b207924d558935080ac08776236e42aca1708c
2 changes: 1 addition & 1 deletion trunk/drivers/media/video/sn9c102/sn9c102_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ sn9c102_find_sof_header(struct sn9c102_device* cam, void* mem, size_t len)

/* Search for the SOF marker (fixed part) in the header */
for (j = 0, b=cam->sof.bytesread; j+b < sizeof(marker); j++) {
if (unlikely(i+j) == len)
if (unlikely(i+j == len))
return NULL;
if (*(m+i+j) == marker[cam->sof.bytesread]) {
cam->sof.header[cam->sof.bytesread] = *(m+i+j);
Expand Down

0 comments on commit 0e095b4

Please sign in to comment.