V4L/DVB (5019): Fix the frame->grabstate update in read() entry point.
authorThierry MERLE <thierry.merle@free.fr>
Fri, 29 Dec 2006 23:32:08 +0000 (20:32 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Mon, 15 Jan 2007 18:25:24 +0000 (16:25 -0200)
The Coverity checker spotted that in usbvision_v4l2_read(), the variable
"frmx" is never assigned any value different from -1, but it's used an
an array index in "usbvision->frame[frmx]".
Thanks to Adrian Bunk <bunk@stusta.de> for warning about that.

Signed-off-by: Thierry MERLE <thierry.merle@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>

No differences found