diff options
author | Thierry MERLE <thierry.merle@free.fr> | 2006-12-29 20:32:08 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-01-15 16:25:24 -0200 |
commit | c430ca1e16b2b4b30f567806c73e270caea8db1d (patch) | |
tree | d939818fb6d6e3abfd5ababdd014179b410b2cec /drivers/media/video/vivi.c | |
parent | a8b3485287731978899ced11f24628c927890e78 (diff) |
V4L/DVB (5019): Fix the frame->grabstate update in read() entry point.
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>
Diffstat (limited to 'drivers/media/video/vivi.c')
0 files changed, 0 insertions, 0 deletions