Skip to content

Commit

Permalink
[PATCH] V4L: 899: fix rds raw data buffer handling bug which caused
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Hans J. Koch authored and Linus Torvalds committed Nov 9, 2005
1 parent 4ac95af commit 6c3d67a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/video/saa6588.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6c3d67a

Please sign in to comment.