Akihiro Sagawa (@sgwaki) commented about dlls/quartz/tests/mpegvideo.c:
- &MEDIASUBTYPE_RGB32,
- &MEDIASUBTYPE_RGB565,
- &MEDIASUBTYPE_RGB555,
- &MEDIASUBTYPE_RGB8,
+}; +static const int video_type_bits_per_pixel[9] = {
- 12, 12, 16, 16,
- 24, 32, 16, 16, 8,
+}; +static const DWORD video_type_compression[9] = {
- MAKEFOURCC('Y','V','1','2'),
- MAKEFOURCC('Y','4','1','P'),
- MAKEFOURCC('Y','U','Y','2'),
- MAKEFOURCC('U','Y','V','Y'),
- BI_RGB, BI_RGB, BI_BITFIELDS, BI_RGB, BI_RGB,
+};
You might want to use an anonymous struct.