Browse Source

[media] pvrusb2: initialize standards mask before detecting standard

Acked-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab 13 years ago
parent
commit
a5abdb6044
1 changed files with 1 additions and 0 deletions
  1. 1 0
      drivers/media/video/pvrusb2/pvrusb2-v4l2.c

+ 1 - 0
drivers/media/video/pvrusb2/pvrusb2-v4l2.c

@@ -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;
 	}