Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 137967
b: refs/heads/master
c: 7f37cc9
h: refs/heads/master
i:
  137965: 6650f36
  137963: f53f6db
  137959: 5421ea9
  137951: f947321
v: v3
  • Loading branch information
Hans Verkuil authored and Mauro Carvalho Chehab committed Mar 30, 2009
1 parent e9dfc2b commit a0c5c91
Show file tree
Hide file tree
Showing 4 changed files with 185 additions and 234 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: aff88bca73a16039ed0988660dc7ab755c3e1741
refs/heads/master: 7f37cc9bae7aa29d567460c3ac8178d587f710bc
9 changes: 3 additions & 6 deletions trunk/drivers/media/video/zoran/zoran_card.c
Original file line number Diff line number Diff line change
Expand Up @@ -919,15 +919,12 @@ zoran_check_jpg_settings (struct zoran *zr,
err0++;
if (settings->img_x + settings->img_width > BUZ_MAX_WIDTH)
err0++;
if (settings->img_y + settings->img_height >
BUZ_MAX_HEIGHT / 2)
if (settings->img_y + settings->img_height > BUZ_MAX_HEIGHT / 2)
err0++;
if (settings->HorDcm && settings->VerDcm) {
if (settings->img_width %
(16 * settings->HorDcm) != 0)
if (settings->img_width % (16 * settings->HorDcm) != 0)
err0++;
if (settings->img_height %
(8 * settings->VerDcm) != 0)
if (settings->img_height % (8 * settings->VerDcm) != 0)
err0++;
}

Expand Down
Loading

0 comments on commit a0c5c91

Please sign in to comment.