[media] cx25821-video.c: Fix assignment
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>
This commit is contained in:
parent
1316b63ccd
commit
a1937e1919
1 changed files with 2 additions and 1 deletions
|
@ -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 =
|
||||
|
|
Loading…
Reference in a new issue