V4L/DVB (6278): Buf: fix typo that caused data loss when readng streams from device
authorMaxim Levitsky <maximlevitsky@gmail.com>
Tue, 2 Oct 2007 12:03:39 +0000 (09:03 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 10 Oct 2007 03:03:08 +0000 (00:03 -0300)
commitd00cd2985e0e796621adf0f782af1563d990b0b5
tree082431ffd36e4863de99daa9ad0edc6aba489ec5
parent14f37aee299bf9a897516f5e33948ee1f014eae1
V4L/DVB (6278): Buf: fix typo that caused data loss when readng streams from device

If videobuf_read_stream reads two or more buffers it was overwriting the first one

Signed-off-by: Maxim Levitsky <maximlevitsky@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
http://thread.gmane.org/gmane.comp.video.video4linux/34978/focus=34981
Reviewed-by: Ricardo Cerqueira <v4l@cerqueira.org>
drivers/media/video/videobuf-core.c