V4L/DVB (10707): zoran: set bytesperline to 0 when using MJPEG.
authorHans Verkuil <hverkuil@xs4all.nl>
Wed, 18 Feb 2009 16:28:28 +0000 (13:28 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 30 Mar 2009 15:42:55 +0000 (12:42 -0300)
commit9f1b9efa6712201aacc590b3250e6f39f9e13f21
tree9c5494fb9084dd63a76aa7d568a845af739b119f
parent3e66793b622feb383dec59d9c044a4c908d7c5c7
V4L/DVB (10707): zoran: set bytesperline to 0 when using MJPEG.

Remove bogus check on bytesperline in the try_fmt_vid_out call.
Just set it to 0.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/zoran/zoran_driver.c