diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-04-02 04:14:57 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-04-02 04:14:57 -0300 |
commit | 6499c4b8ab1554b94358bc6d69709e1c22d8b606 (patch) | |
tree | a7efa725c4b511a43f73ee520eb29c444b6d7851 /linux/drivers/media/video/tvaudio.c | |
parent | e1fbc574390b85339c21945ec238e87018601a08 (diff) | |
download | mediapointer-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