summaryrefslogtreecommitdiff
path: root/drivers/media/video/saa6588.c
diff options
context:
space:
mode:
authorHans J. Koch <koch@hjk-az.de>2005-11-09 08:38:39 +0300
committerLinus Torvalds <torvalds@g5.osdl.org>2005-11-09 18:56:29 +0300
commit6c3d67abdb79ff3e22cd19476c05294274434143 (patch)
tree04576b0cd46655e49367f5c32b78bb789788b0f2 /drivers/media/video/saa6588.c
parent4ac95af9a0bdc33f18e6a7532ac5319b2d4ab8c2 (diff)
downloadlinux-6c3d67abdb79ff3e22cd19476c05294274434143.tar.xz
[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 23ea548a71e0..dca3ddfd510f 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