]> git.baikalelectronics.ru Git - kernel.git/commit
V4L/DVB: gspca - sonixj: Bad detection of the end of image
authorJean-François Moine <moinejf@free.fr>
Fri, 1 Oct 2010 10:54:30 +0000 (07:54 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 21 Oct 2010 03:06:21 +0000 (01:06 -0200)
commit70fd4e545142eaa84742306fb251ffeba56d5747
treedf24e1ef35dcd56be42a23472e3db4e41c36ec42
parenta88359b6dc6bb3eb9460db46f2b34d13fb1bdf09
V4L/DVB: gspca - sonixj: Bad detection of the end of image

The 'end of image' block may be splitted between two ISOC packets.
This case was not tested, so, some images could be lost and concatenated
to previous one(s), raising 'frame overflow' errors.

Signed-off-by: Jean-François Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/sonixj.c