[media] gspca - sn9c20x: Add the JPEG compression quality control
authorJean-François Moine <moinejf@free.fr>
Mon, 19 Mar 2012 07:35:34 +0000 (04:35 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 20 Mar 2012 01:30:20 +0000 (22:30 -0300)
The JPEG compression quality was hardcoded to 95%. This value was too big,
raising often buffer overflows.
This quality is now 80% by default and is settable.

Signed-off-by: Jean-François Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

No differences found