commit | fa4376d28e19b0835f948c5b42f13738f68bd9a1 | [log] [tgz] |
---|---|---|
author | Hans de Goede <hdegoede@redhat.com> | Sun Jun 05 03:44:43 2011 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Wed Jul 27 17:53:39 2011 -0300 |
tree | 838901752fdbed391b90b5d9aa68b6ae887beac2 | |
parent | 21144ea601f1fea37c7add15a099affec7c08425 [diff] |
[media] gspca: reset image_len to 0 on LAST_PACKET when discarding frame Reset image and image_len to NULL/0 on LAST_PACKET when we're in discard frame mode, just like we do when not discarding the current frame. The new se401 driver uses image_len for SOF/EOF detection and thus depends on this. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>