summaryrefslogtreecommitdiffstats
path: root/drivers/media/usb/gspca/jpeg.h
Commit message (Collapse)AuthorAgeFilesLines
* [media] gpsca: remove the risk of a division by zeroMauro Carvalho Chehab2014-04-081-1/+3
| | | | | | | | | | | | As reported by Coverity, there's a potential risk of a division by zero on some calls to jpeg_set_qual(), if quality is zero. As quality can't be 0 or lower than that, adds an extra clause to cover this special case. Coverity reports: CID#11922280, CID#11922293, CID#11922295 Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
* [media] rename most media/video usb drivers to media/usbMauro Carvalho Chehab2012-08-151-0/+168
Rename all USB drivers with their own directory under drivers/media/video into drivers/media/usb and update the building system. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>