[media] gspca - pac7302: Simplify the function pkt_scan
authorJean-François Moine <moinejf@free.fr>
Mon, 27 Feb 2012 08:21:57 +0000 (05:21 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 8 Mar 2012 10:58:52 +0000 (07:58 -0300)
commit7532e815995da3c83d28dc051ab62a03a7788ab4
treed32ccf5ac089abb05d447003ec2b603ca427f8a6
parentae251e6b18cff8c1bd1d825f8862b083a33be421
[media] gspca - pac7302: Simplify the function pkt_scan

The JPEG header is always the same, so, it does not need to be rebuild
each time a new frame is received.

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