diff options
Diffstat (limited to 'drivers/media/usb/gspca/sonixj.c')
-rw-r--r-- | drivers/media/usb/gspca/sonixj.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/usb/gspca/sonixj.c b/drivers/media/usb/gspca/sonixj.c index 3b5ccb1c4cdf..c69b45d7cfbf 100644 --- a/drivers/media/usb/gspca/sonixj.c +++ b/drivers/media/usb/gspca/sonixj.c | |||
@@ -2204,7 +2204,8 @@ static int sd_start(struct gspca_dev *gspca_dev) | |||
2204 | { 0x14, 0xe7, 0x1e, 0xdd }; | 2204 | { 0x14, 0xe7, 0x1e, 0xdd }; |
2205 | 2205 | ||
2206 | /* create the JPEG header */ | 2206 | /* create the JPEG header */ |
2207 | jpeg_define(sd->jpeg_hdr, gspca_dev->height, gspca_dev->width, | 2207 | jpeg_define(sd->jpeg_hdr, gspca_dev->pixfmt.height, |
2208 | gspca_dev->pixfmt.width, | ||
2208 | 0x21); /* JPEG 422 */ | 2209 | 0x21); /* JPEG 422 */ |
2209 | 2210 | ||
2210 | /* initialize the bridge */ | 2211 | /* initialize the bridge */ |