mirror of
https://github.com/torvalds/linux.git
synced 2024-11-01 01:31:44 +00:00
[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>
This commit is contained in:
parent
75aecc3af2
commit
2a72b39e51
@ -1523,7 +1523,7 @@ zoran_irq (int irq,
|
||||
zr->JPEG_missed > 25 ||
|
||||
zr->JPEG_error == 1 ||
|
||||
((zr->codec_mode == BUZ_MODE_MOTION_DECOMPRESS) &&
|
||||
(zr->frame_num & (zr->JPEG_missed > zr->jpg_settings.field_per_buff)))) {
|
||||
(zr->frame_num && (zr->JPEG_missed > zr->jpg_settings.field_per_buff)))) {
|
||||
error_handler(zr, astat, stat);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user