[media] gspca - zc3xx: Discard the partial frames
authorJean-François Moine <moinejf@free.fr>
Mon, 24 Jan 2011 19:31:58 +0000 (16:31 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 31 Jan 2011 14:05:48 +0000 (12:05 -0200)
commita5ecdfb3dab0ed55ca72fb5ad73657baf2af2fa0
tree190c72a0abbf2b33ed51d601fdf983764c2b4e0f
parent3d244065cb8764e23fe86225fb985e5deb3b26d5
[media] gspca - zc3xx: Discard the partial frames

In some cases, some frames may not end with the JPEG end of frame.
Being not complete, they are now discarded.

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