Skip to content

Commit

Permalink
[media] cx25821-video.c: Fix assignment
Browse files Browse the repository at this point in the history
Change double assignment in one statement into two assignment
statements.

Signed-off-by: Leonid V. Fedorenchik <leonidsbox@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Leonid V. Fedorenchik authored and Mauro Carvalho Chehab committed Nov 24, 2011
1 parent 1316b63 commit a1937e1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/media/video/cx25821/cx25821-video.c
Original file line number Diff line number Diff line change
Expand Up @@ -1622,7 +1622,8 @@ int cx25821_vidioc_cropcap(struct file *file, void *priv,

if (cropcap->type != V4L2_BUF_TYPE_VIDEO_CAPTURE)
return -EINVAL;
cropcap->bounds.top = cropcap->bounds.left = 0;
cropcap->bounds.top = 0;
cropcap->bounds.left = 0;
cropcap->bounds.width = 720;
cropcap->bounds.height = dev->tvnorm == V4L2_STD_PAL_BG ? 576 : 480;
cropcap->pixelaspect.numerator =
Expand Down

0 comments on commit a1937e1

Please sign in to comment.