diff options
-rw-r--r-- | drivers/media/video/videobuf-core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/videobuf-core.c b/drivers/media/video/videobuf-core.c index ca67f80184bd..8e4026e6fae3 100644 --- a/drivers/media/video/videobuf-core.c +++ b/drivers/media/video/videobuf-core.c | |||
@@ -771,7 +771,7 @@ ssize_t videobuf_read_stream(struct videobuf_queue *q, | |||
771 | } | 771 | } |
772 | 772 | ||
773 | if (q->read_buf->state == STATE_DONE) { | 773 | if (q->read_buf->state == STATE_DONE) { |
774 | rc = CALL (q,copy_stream, q, data, count, | 774 | rc = CALL (q,copy_stream, q, data + retval, count, |
775 | retval, vbihack, nonblocking); | 775 | retval, vbihack, nonblocking); |
776 | if (rc < 0) { | 776 | if (rc < 0) { |
777 | retval = rc; | 777 | retval = rc; |