summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/tvaudio.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2006-04-02 04:14:57 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-04-02 04:14:57 -0300
commit6499c4b8ab1554b94358bc6d69709e1c22d8b606 (patch)
treea7efa725c4b511a43f73ee520eb29c444b6d7851 /linux/drivers/media/video/tvaudio.c
parente1fbc574390b85339c21945ec238e87018601a08 (diff)
downloadmediapointer-dvb-s2-6499c4b8ab1554b94358bc6d69709e1c22d8b606.tar.gz
mediapointer-dvb-s2-6499c4b8ab1554b94358bc6d69709e1c22d8b606.tar.bz2
Fix some errors on bttv_risc_overlay
From: Duncan Sands <baldrick@free.fr> 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 <baldrick@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/video/tvaudio.c')
0 files changed, 0 insertions, 0 deletions