From: Duncan Sands Date: Sun, 2 Apr 2006 07:14:57 +0000 (-0300) Subject: V4L/DVB (3704): Fix some errors on bttv_risc_overlay X-Git-Tag: v2.6.17-rc5~31^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3203f94a25ea04b3052d22c7be9518538862d88f;p=pandora-kernel.git V4L/DVB (3704): Fix some errors on bttv_risc_overlay There are tree mistakes on bttv_risc_overlay. 1) When skip_odd is true, the number of lines for which instructions are written is (height+1)/2, not height/2. 2) This occurs when clipping: the number of instruction bytes written can be as much as 8 + 12*nclips, not 8 + 8*nclips, as currently estimated. 3) Coverity check were wrong with nskips=0, since it means that it can clipped at most one line. Signed-off-by: Duncan Sands Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed