diff options
-rw-r--r-- | drivers/media/video/bttv-risc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/video/bttv-risc.c b/drivers/media/video/bttv-risc.c index a60c211c9e31..5c746110df62 100644 --- a/drivers/media/video/bttv-risc.c +++ b/drivers/media/video/bttv-risc.c | |||
@@ -276,6 +276,8 @@ bttv_risc_overlay(struct bttv *btv, struct btcx_riscmem *risc, | |||
276 | if (line > maxy) | 276 | if (line > maxy) |
277 | btcx_calc_skips(line, ov->w.width, &maxy, | 277 | btcx_calc_skips(line, ov->w.width, &maxy, |
278 | skips, &nskips, ov->clips, ov->nclips); | 278 | skips, &nskips, ov->clips, ov->nclips); |
279 | else | ||
280 | nskips = 0; | ||
279 | 281 | ||
280 | /* write out risc code */ | 282 | /* write out risc code */ |
281 | for (start = 0, skip = 0; start < ov->w.width; start = end) { | 283 | for (start = 0, skip = 0; start < ov->w.width; start = end) { |