proto: Realign struct initializers
authorMartin Storsjö <martin@martin.st>
Thu, 1 Dec 2011 09:53:57 +0000 (11:53 +0200)
committerMartin Storsjö <martin@martin.st>
Thu, 1 Dec 2011 11:47:28 +0000 (13:47 +0200)
Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/applehttpproto.c
libavformat/concat.c
libavformat/gopher.c
libavformat/mmsh.c
libavformat/mmst.c
libavformat/rtmpproto.c

index 245422b..2b15709 100644 (file)
@@ -294,10 +294,10 @@ retry:
 }
 
 URLProtocol ff_applehttp_protocol = {
-    .name      = "applehttp",
-    .url_open  = applehttp_open,
-    .url_read  = applehttp_read,
-    .url_close = applehttp_close,
-    .flags     = URL_PROTOCOL_FLAG_NESTED_SCHEME,
+    .name           = "applehttp",
+    .url_open       = applehttp_open,
+    .url_read       = applehttp_read,
+    .url_close      = applehttp_close,
+    .flags          = URL_PROTOCOL_FLAG_NESTED_SCHEME,
     .priv_data_size = sizeof(AppleHTTPContext),
 };
index 4bfa628..24c50c1 100644 (file)
@@ -184,10 +184,10 @@ static int64_t concat_seek(URLContext *h, int64_t pos, int whence)
 }
 
 URLProtocol ff_concat_protocol = {
-    .name      = "concat",
-    .url_open  = concat_open,
-    .url_read  = concat_read,
-    .url_seek  = concat_seek,
-    .url_close = concat_close,
+    .name           = "concat",
+    .url_open       = concat_open,
+    .url_read       = concat_read,
+    .url_seek       = concat_seek,
+    .url_close      = concat_close,
     .priv_data_size = sizeof(struct concat_data),
 };
index 0543878..c033861 100644 (file)
@@ -115,10 +115,10 @@ static int gopher_read(URLContext *h, uint8_t *buf, int size)
 
 
 URLProtocol ff_gopher_protocol = {
-    .name      = "gopher",
-    .url_open  = gopher_open,
-    .url_read  = gopher_read,
-    .url_write = gopher_write,
-    .url_close = gopher_close,
+    .name           = "gopher",
+    .url_open       = gopher_open,
+    .url_read       = gopher_read,
+    .url_write      = gopher_write,
+    .url_close      = gopher_close,
     .priv_data_size = sizeof(GopherContext),
 };
index a1ae894..fa1a467 100644 (file)
@@ -359,9 +359,9 @@ static int mmsh_read(URLContext *h, uint8_t *buf, int size)
 }
 
 URLProtocol ff_mmsh_protocol = {
-    .name      = "mmsh",
-    .url_open  = mmsh_open,
-    .url_read  = mmsh_read,
-    .url_close = mmsh_close,
+    .name           = "mmsh",
+    .url_open       = mmsh_open,
+    .url_read       = mmsh_read,
+    .url_close      = mmsh_close,
     .priv_data_size = sizeof(MMSHContext),
 };
index 9d7fd74..753b05c 100644 (file)
@@ -620,9 +620,9 @@ static int mms_read(URLContext *h, uint8_t *buf, int size)
 }
 
 URLProtocol ff_mmst_protocol = {
-    .name      = "mmst",
-    .url_open  = mms_open,
-    .url_read  = mms_read,
-    .url_close = mms_close,
+    .name           = "mmst",
+    .url_open       = mms_open,
+    .url_read       = mms_read,
+    .url_close      = mms_close,
     .priv_data_size = sizeof(MMSTContext),
 };
index f477338..54213b1 100644 (file)
@@ -992,10 +992,10 @@ static int rtmp_write(URLContext *s, const uint8_t *buf, int size)
 }
 
 URLProtocol ff_rtmp_protocol = {
-    .name      = "rtmp",
-    .url_open  = rtmp_open,
-    .url_read  = rtmp_read,
-    .url_write = rtmp_write,
-    .url_close = rtmp_close,
+    .name           = "rtmp",
+    .url_open       = rtmp_open,
+    .url_read       = rtmp_read,
+    .url_write      = rtmp_write,
+    .url_close      = rtmp_close,
     .priv_data_size = sizeof(RTMPContext),
 };