diff options
Diffstat (limited to 'linux/drivers/media/video/bttv-risc.c')
-rw-r--r-- | linux/drivers/media/video/bttv-risc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/linux/drivers/media/video/bttv-risc.c b/linux/drivers/media/video/bttv-risc.c index 33bf3a490..f0508b995 100644 --- a/linux/drivers/media/video/bttv-risc.c +++ b/linux/drivers/media/video/bttv-risc.c @@ -154,15 +154,15 @@ bttv_risc_planar(struct bttv *btv, struct btcx_riscmem *risc, break; case 1: if (!yoffset) - chroma = (line & 1) == 0; + chroma = ((line & 1) == 0); else - chroma = (line & 1) == 1; + chroma = ((line & 1) == 1); break; case 2: if (!yoffset) - chroma = (line & 3) == 0; + chroma = ((line & 3) == 0); else - chroma = (line & 3) == 2; + chroma = ((line & 3) == 2); break; default: chroma = 0; |