summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/saa6588.c
diff options
context:
space:
mode:
authorHans J. Koch <koch@hjk-az.de>2005-11-08 21:38:39 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2005-11-09 07:56:29 -0800
commit6c3d67abdb79ff3e22cd19476c05294274434143 (patch)
tree04576b0cd46655e49367f5c32b78bb789788b0f2 /drivers/media/video/saa6588.c
parent4ac95af9a0bdc33f18e6a7532ac5319b2d4ab8c2 (diff)
downloadop-kernel-dev-6c3d67abdb79ff3e22cd19476c05294274434143.zip
op-kernel-dev-6c3d67abdb79ff3e22cd19476c05294274434143.tar.gz
[PATCH] V4L: 899: fix rds raw data buffer handling bug which caused
Fix RDS raw data buffer handling bug, which caused decoding delays and sometimes wrong data. Signed-off-by: Hans J. Koch <koch@hjk-az.de> Signed-off-by: Michael Krufky <mkrufky@m1k.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/media/video/saa6588.c')
-rw-r--r--drivers/media/video/saa6588.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/saa6588.c b/drivers/media/video/saa6588.c
index 23ea548..dca3ddf 100644
--- a/drivers/media/video/saa6588.c
+++ b/drivers/media/video/saa6588.c
@@ -245,7 +245,7 @@ static void block_to_buf(struct saa6588 *s, unsigned char *blockbuf)
s->wr_index = 0;
if (s->wr_index == s->rd_index) {
- s->rd_index++;
+ s->rd_index += 3;
if (s->rd_index >= s->buf_size)
s->rd_index = 0;
} else
OpenPOWER on IntegriCloud