summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/zoran_driver.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/media/video/zoran_driver.c')
-rw-r--r--linux/drivers/media/video/zoran_driver.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/linux/drivers/media/video/zoran_driver.c b/linux/drivers/media/video/zoran_driver.c
index 38c1c5978..de85abc45 100644
--- a/linux/drivers/media/video/zoran_driver.c
+++ b/linux/drivers/media/video/zoran_driver.c
@@ -2894,12 +2894,8 @@ zoran_do_ioctl (struct inode *inode,
return res;
break;
- case V4L2_BUF_TYPE_VIDEO_OUTPUT:
- /* Clear v4l2_pix_out_format fields, the position is always 0. */
- fmt->fmt.pix_out.top = 0;
- fmt->fmt.pix_out.left = 0;
- /* fall through */
case V4L2_BUF_TYPE_VIDEO_CAPTURE:
+ case V4L2_BUF_TYPE_VIDEO_OUTPUT:
printformat =
__cpu_to_le32(fmt->fmt.pix.pixelformat);