--- zzzz-none-000/linux-3.10.107/drivers/media/usb/gspca/jpeg.h 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/drivers/media/usb/gspca/jpeg.h 2021-02-04 17:41:59.000000000 +0000 @@ -154,7 +154,9 @@ { int i, sc; - if (quality < 50) + if (quality <= 0) + sc = 5000; + else if (quality < 50) sc = 5000 / quality; else sc = 200 - quality * 2;