V4L/DVB (6341): ivtv: fix resizing MPEG1 streams
authorHans Verkuil <hverkuil@xs4all.nl>
Fri, 12 Oct 2007 15:39:36 +0000 (12:39 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Mon, 22 Oct 2007 14:01:46 +0000 (12:01 -0200)
Resizing an MPEG 1 stream would cut off the right half of the
image due to a missing divide by 2 in VIDIOC_S_FMT.

Also did some minor cleanup in this part of the code.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>

No differences found