changeset 415:5332ac41f502

missing braces around initializer warning fixed
author szabii
date Sat, 14 Apr 2001 21:09:25 +0000
parents a8b17d1f2551
children dd528a763c6f
files codec-cfg.c
diffstat 1 files changed, 17 insertions(+), 17 deletions(-) [+]
line wrap: on
line diff
--- a/codec-cfg.c	Sat Apr 14 19:30:52 2001 +0000
+++ b/codec-cfg.c	Sat Apr 14 21:09:25 2001 +0000
@@ -107,25 +107,25 @@
 	        const char *name;
 	        const unsigned int num;
 	} fmt_table[] = {
-		"YV12",  IMGFMT_YV12,
-		"I420",  IMGFMT_I420,
-		"IYUV",  IMGFMT_IYUV,
+		{"YV12",  IMGFMT_YV12},
+		{"I420",  IMGFMT_I420},
+		{"IYUV",  IMGFMT_IYUV},
 
-		"YUY2",  IMGFMT_YUY2,
-		"UYVY",  IMGFMT_UYVY,
-		"YVYU",  IMGFMT_YVYU,
+		{"YUY2",  IMGFMT_YUY2},
+		{"UYVY",  IMGFMT_UYVY},
+		{"YVYU",  IMGFMT_YVYU},
 
-	        "RGB8",  IMGFMT_RGB|8,
-		"RGB15", IMGFMT_RGB|15, 
-		"RGB16", IMGFMT_RGB|16,
-		"RGB24", IMGFMT_RGB|24,
-		"RGB32", IMGFMT_RGB|32,
-		"BGR8",  IMGFMT_BGR|8,
-		"BGR15", IMGFMT_BGR|15,
-		"BGR16", IMGFMT_BGR|16,
-		"BGR24", IMGFMT_BGR|24,
-		"BGR32", IMGFMT_BGR|32,
-		NULL,    0
+	        {"RGB8",  IMGFMT_RGB|8},
+		{"RGB15", IMGFMT_RGB|15}, 
+		{"RGB16", IMGFMT_RGB|16},
+		{"RGB24", IMGFMT_RGB|24},
+		{"RGB32", IMGFMT_RGB|32},
+		{"BGR8",  IMGFMT_BGR|8},
+		{"BGR15", IMGFMT_BGR|15},
+		{"BGR16", IMGFMT_BGR|16},
+		{"BGR24", IMGFMT_BGR|24},
+		{"BGR32", IMGFMT_BGR|32},
+		{NULL,    0}
 	};
 
 	static char *flagstr[] = {