summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/zoran/zoran_card.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/media/video/zoran/zoran_card.c')
-rw-r--r--linux/drivers/media/video/zoran/zoran_card.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/linux/drivers/media/video/zoran/zoran_card.c b/linux/drivers/media/video/zoran/zoran_card.c
index 99a25218b..ef0533086 100644
--- a/linux/drivers/media/video/zoran/zoran_card.c
+++ b/linux/drivers/media/video/zoran/zoran_card.c
@@ -920,15 +920,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++;
}