changeset 31159:e8186e9fea63

whitespace cosmetics: fix indentation
author diego
date Tue, 25 May 2010 11:37:53 +0000
parents e1db21f14dd2
children 5beb6c13ac7b
files codec-cfg.c
diffstat 1 files changed, 63 insertions(+), 63 deletions(-) [+]
line wrap: on
line diff
--- a/codec-cfg.c	Tue May 25 11:36:55 2010 +0000
+++ b/codec-cfg.c	Tue May 25 11:37:53 2010 +0000
@@ -154,75 +154,75 @@
     return 1;
 }
 
-    static const struct {
-        const char *name;
-        const unsigned int num;
-    } fmt_table[] = {
-        // note: due to parser deficiencies/simplicity, if one format
-        // name matches the beginning of another, the longer one _must_
-        // come first in this list.
-        {"YV12",  IMGFMT_YV12},
-        {"I420",  IMGFMT_I420},
-        {"IYUV",  IMGFMT_IYUV},
-        {"NV12",  IMGFMT_NV12},
-        {"NV21",  IMGFMT_NV21},
-        {"YVU9",  IMGFMT_YVU9},
-        {"IF09",  IMGFMT_IF09},
-        {"444P16LE", IMGFMT_444P16_LE},
-        {"444P16BE", IMGFMT_444P16_BE},
-        {"422P16LE", IMGFMT_422P16_LE},
-        {"422P16BE", IMGFMT_422P16_BE},
-        {"420P16LE", IMGFMT_420P16_LE},
-        {"420P16BE", IMGFMT_420P16_BE},
-        {"444P16", IMGFMT_444P16},
-        {"422P16", IMGFMT_422P16},
-        {"420P16", IMGFMT_420P16},
-        {"420A",  IMGFMT_420A},
-        {"444P",  IMGFMT_444P},
-        {"422P",  IMGFMT_422P},
-        {"411P",  IMGFMT_411P},
-        {"440P",  IMGFMT_440P},
-        {"Y800",  IMGFMT_Y800},
-        {"Y8",    IMGFMT_Y8},
+static const struct {
+    const char *name;
+    const unsigned int num;
+} fmt_table[] = {
+    // note: due to parser deficiencies/simplicity, if one format
+    // name matches the beginning of another, the longer one _must_
+    // come first in this list.
+    {"YV12",  IMGFMT_YV12},
+    {"I420",  IMGFMT_I420},
+    {"IYUV",  IMGFMT_IYUV},
+    {"NV12",  IMGFMT_NV12},
+    {"NV21",  IMGFMT_NV21},
+    {"YVU9",  IMGFMT_YVU9},
+    {"IF09",  IMGFMT_IF09},
+    {"444P16LE", IMGFMT_444P16_LE},
+    {"444P16BE", IMGFMT_444P16_BE},
+    {"422P16LE", IMGFMT_422P16_LE},
+    {"422P16BE", IMGFMT_422P16_BE},
+    {"420P16LE", IMGFMT_420P16_LE},
+    {"420P16BE", IMGFMT_420P16_BE},
+    {"444P16", IMGFMT_444P16},
+    {"422P16", IMGFMT_422P16},
+    {"420P16", IMGFMT_420P16},
+    {"420A",  IMGFMT_420A},
+    {"444P",  IMGFMT_444P},
+    {"422P",  IMGFMT_422P},
+    {"411P",  IMGFMT_411P},
+    {"440P",  IMGFMT_440P},
+    {"Y800",  IMGFMT_Y800},
+    {"Y8",    IMGFMT_Y8},
 
-        {"YUY2",  IMGFMT_YUY2},
-        {"UYVY",  IMGFMT_UYVY},
-        {"YVYU",  IMGFMT_YVYU},
+    {"YUY2",  IMGFMT_YUY2},
+    {"UYVY",  IMGFMT_UYVY},
+    {"YVYU",  IMGFMT_YVYU},
 
-        {"RGB48LE",  IMGFMT_RGB48LE},
-        {"RGB48BE",  IMGFMT_RGB48BE},
-        {"RGB4",  IMGFMT_RGB4},
-        {"RGB8",  IMGFMT_RGB8},
-        {"RGB15", IMGFMT_RGB15},
-        {"RGB16", IMGFMT_RGB16},
-        {"RGB24", IMGFMT_RGB24},
-        {"RGB32", IMGFMT_RGB32},
-        {"BGR4",  IMGFMT_BGR4},
-        {"BGR8",  IMGFMT_BGR8},
-        {"BGR15", IMGFMT_BGR15},
-        {"BGR16", IMGFMT_BGR16},
-        {"BGR24", IMGFMT_BGR24},
-        {"BGR32", IMGFMT_BGR32},
-        {"RGB1",  IMGFMT_RGB1},
-        {"BGR1",  IMGFMT_BGR1},
+    {"RGB48LE",  IMGFMT_RGB48LE},
+    {"RGB48BE",  IMGFMT_RGB48BE},
+    {"RGB4",  IMGFMT_RGB4},
+    {"RGB8",  IMGFMT_RGB8},
+    {"RGB15", IMGFMT_RGB15},
+    {"RGB16", IMGFMT_RGB16},
+    {"RGB24", IMGFMT_RGB24},
+    {"RGB32", IMGFMT_RGB32},
+    {"BGR4",  IMGFMT_BGR4},
+    {"BGR8",  IMGFMT_BGR8},
+    {"BGR15", IMGFMT_BGR15},
+    {"BGR16", IMGFMT_BGR16},
+    {"BGR24", IMGFMT_BGR24},
+    {"BGR32", IMGFMT_BGR32},
+    {"RGB1",  IMGFMT_RGB1},
+    {"BGR1",  IMGFMT_BGR1},
 
-        {"MPES",  IMGFMT_MPEGPES},
-        {"ZRMJPEGNI", IMGFMT_ZRMJPEGNI},
-        {"ZRMJPEGIT", IMGFMT_ZRMJPEGIT},
-        {"ZRMJPEGIB", IMGFMT_ZRMJPEGIB},
+    {"MPES",  IMGFMT_MPEGPES},
+    {"ZRMJPEGNI", IMGFMT_ZRMJPEGNI},
+    {"ZRMJPEGIT", IMGFMT_ZRMJPEGIT},
+    {"ZRMJPEGIB", IMGFMT_ZRMJPEGIB},
 
-        {"IDCT_MPEG2",IMGFMT_XVMC_IDCT_MPEG2},
-        {"MOCO_MPEG2",IMGFMT_XVMC_MOCO_MPEG2},
+    {"IDCT_MPEG2",IMGFMT_XVMC_IDCT_MPEG2},
+    {"MOCO_MPEG2",IMGFMT_XVMC_MOCO_MPEG2},
 
-        {"VDPAU_MPEG1",IMGFMT_VDPAU_MPEG1},
-        {"VDPAU_MPEG2",IMGFMT_VDPAU_MPEG2},
-        {"VDPAU_H264",IMGFMT_VDPAU_H264},
-        {"VDPAU_WMV3",IMGFMT_VDPAU_WMV3},
-        {"VDPAU_VC1",IMGFMT_VDPAU_VC1},
-        {"VDPAU_MPEG4",IMGFMT_VDPAU_MPEG4},
+    {"VDPAU_MPEG1",IMGFMT_VDPAU_MPEG1},
+    {"VDPAU_MPEG2",IMGFMT_VDPAU_MPEG2},
+    {"VDPAU_H264",IMGFMT_VDPAU_H264},
+    {"VDPAU_WMV3",IMGFMT_VDPAU_WMV3},
+    {"VDPAU_VC1",IMGFMT_VDPAU_VC1},
+    {"VDPAU_MPEG4",IMGFMT_VDPAU_MPEG4},
 
-        {NULL,    0}
-    };
+    {NULL,    0}
+};
 
 
 static int add_to_inout(char *sfmt, char *sflags, unsigned int *outfmt,