libv4l: skip false Pixart markers
authorMárton Németh <nm127@freemail.hu>
Tue, 2 Feb 2010 10:23:03 +0000 (11:23 +0100)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 24 Feb 2010 00:44:40 +0000 (21:44 -0300)
commit380031183928d5add8d1809721b74d150a6b7504
treea2dfab0ff100a6a498dec2ce34368a1c81d62456
parentf3807a39bb66f1c12a57dadf0bdac478c76d4859
libv4l: skip false Pixart markers

The byte sequence 0xff, 0xff, 0xff 0xff is not a real marker to skip, instead
it is one byte from the image and the following three 0xff bytes might belong
to a real marker. Modify pixart_fill_nbits() macro to pass the first 0xff byte
as an image data.

Priority: normal

Signed-off-by: Márton Németh <nm127@freemail.hu>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
lib/ChangeLog
lib/libv4lconvert/tinyjpeg.c