summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video
diff options
context:
space:
mode:
authorMichael Krufky <devnull@localhost>2005-11-02 00:19:30 +0000
committerMichael Krufky <devnull@localhost>2005-11-02 00:19:30 +0000
commit3f4d50de60b6664fa059ba611af2b064c37b837b (patch)
treea733f05fb1e7badb1010d29d46a013f5f87f8989 /linux/drivers/media/video
parent6d5257973532974ab5964e4af09574c7d8b198b8 (diff)
downloadmediapointer-dvb-s2-3f4d50de60b6664fa059ba611af2b064c37b837b.tar.gz
mediapointer-dvb-s2-3f4d50de60b6664fa059ba611af2b064c37b837b.tar.bz2
- 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>
Diffstat (limited to 'linux/drivers/media/video')
-rw-r--r--linux/drivers/media/video/saa6588.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/saa6588.c b/linux/drivers/media/video/saa6588.c
index 2a4d54a63..695c69d42 100644
--- a/linux/drivers/media/video/saa6588.c
+++ b/linux/drivers/media/video/saa6588.c
@@ -252,7 +252,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