diff options
author | Dan Carpenter <error27@gmail.com> | 2010-12-10 07:39:34 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-12-29 05:17:03 -0500 |
commit | 2a72b39e516bf772e707d5a080d5d07b1c8ac0c0 (patch) | |
tree | fcae2ef48e893ccd390f9211af2b7b4c16e26a3a | |
parent | 75aecc3af22ae9063c96457d530f281a1e2d3276 (diff) |
[media] zoran: bit-wise vs logical and
zr->frame_num is a counter and && was intended here instead of &.
Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r-- | drivers/media/video/zoran/zoran_device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/zoran/zoran_device.c b/drivers/media/video/zoran/zoran_device.c index b02007e42150..e8a27844bf39 100644 --- a/drivers/media/video/zoran/zoran_device.c +++ b/drivers/media/video/zoran/zoran_device.c | |||
@@ -1523,7 +1523,7 @@ zoran_irq (int irq, | |||
1523 | zr->JPEG_missed > 25 || | 1523 | zr->JPEG_missed > 25 || |
1524 | zr->JPEG_error == 1 || | 1524 | zr->JPEG_error == 1 || |
1525 | ((zr->codec_mode == BUZ_MODE_MOTION_DECOMPRESS) && | 1525 | ((zr->codec_mode == BUZ_MODE_MOTION_DECOMPRESS) && |
1526 | (zr->frame_num & (zr->JPEG_missed > zr->jpg_settings.field_per_buff)))) { | 1526 | (zr->frame_num && (zr->JPEG_missed > zr->jpg_settings.field_per_buff)))) { |
1527 | error_handler(zr, astat, stat); | 1527 | error_handler(zr, astat, stat); |
1528 | } | 1528 | } |
1529 | 1529 | ||