aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2009-06-18 05:03:20 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-06-23 02:13:38 -0400
commita5d1cc39fee739cf4fc2a1f43da812c50de9d3d6 (patch)
treef5b60de061174a487cf5f54c4cb82ebd70c5b27b /drivers/media
parent119893b2dfb18515bfdcc5edb83422e6aa126a86 (diff)
V4L/DVB (12089): gspca_sonixj: increase 640x480 frame-buffersize
gspca_sonixj: increase 640x480 frame-buffersize, as I was getting buffer overflows during my testing of a "Premier" 0c45:613e cam Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/video/gspca/sonixj.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/video/gspca/sonixj.c b/drivers/media/video/gspca/sonixj.c
index 184bb924f456..46988120ec65 100644
--- a/drivers/media/video/gspca/sonixj.c
+++ b/drivers/media/video/gspca/sonixj.c
@@ -274,7 +274,8 @@ static const struct v4l2_pix_format vga_mode[] = {
274 .priv = 1}, 274 .priv = 1},
275 {640, 480, V4L2_PIX_FMT_JPEG, V4L2_FIELD_NONE, 275 {640, 480, V4L2_PIX_FMT_JPEG, V4L2_FIELD_NONE,
276 .bytesperline = 640, 276 .bytesperline = 640,
277 .sizeimage = 640 * 480 * 3 / 8 + 590, 277 /* Note 3 / 8 is not large enough, not even 5 / 8 is ?! */
278 .sizeimage = 640 * 480 * 3 / 4 + 590,
278 .colorspace = V4L2_COLORSPACE_JPEG, 279 .colorspace = V4L2_COLORSPACE_JPEG,
279 .priv = 0}, 280 .priv = 0},
280}; 281};