diff options
Diffstat (limited to 'drivers/media/video/saa6588.c')
-rw-r--r-- | drivers/media/video/saa6588.c | 2 |
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) | |||
245 | s->wr_index = 0; | 245 | s->wr_index = 0; |
246 | 246 | ||
247 | if (s->wr_index == s->rd_index) { | 247 | if (s->wr_index == s->rd_index) { |
248 | s->rd_index++; | 248 | s->rd_index += 3; |
249 | if (s->rd_index >= s->buf_size) | 249 | if (s->rd_index >= s->buf_size) |
250 | s->rd_index = 0; | 250 | s->rd_index = 0; |
251 | } else | 251 | } else |