[media] pvrusb2: initialize standards mask before detecting standard
Acked-by: Mike Isely <isely@pobox.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
e41567a61d
commit
a5abdb6044
1 changed files with 1 additions and 0 deletions
|
@ -230,6 +230,7 @@ static long pvr2_v4l2_do_ioctl(struct file *file, unsigned int cmd, void *arg)
|
|||
case VIDIOC_QUERYSTD:
|
||||
{
|
||||
v4l2_std_id *std = arg;
|
||||
*std = V4L2_STD_ALL;
|
||||
ret = pvr2_hdw_get_detected_std(hdw, std);
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue