diff vidix/ivtv_vid.c @ 36634:945eab072c9d

vidix: move query_format struct initialization to common code.
author reimar
date Sat, 25 Jan 2014 16:55:01 +0000
parents 8fa2f43cb760
children 3c5c93a30fb7
line wrap: on
line diff
--- a/vidix/ivtv_vid.c	Sat Jan 25 16:54:59 2014 +0000
+++ b/vidix/ivtv_vid.c	Sat Jan 25 16:55:01 2014 +0000
@@ -411,13 +411,11 @@
 	}
 
 	if(!supports) {
-		to->depth = to->flags = 0;
 		return ENOTSUP;
 	}
 	to->depth = VID_DEPTH_12BPP |
 		VID_DEPTH_15BPP | VID_DEPTH_16BPP |
 		VID_DEPTH_24BPP | VID_DEPTH_32BPP;
-	to->flags = 0;
 	return 0;
 }