Browse code

proto: Realign struct initializers

Signed-off-by: Martin Storsjö <martin@martin.st>

Martin Storsjö authored on 2011/12/01 18:53:57
Showing 6 changed files
... ...
@@ -294,10 +294,10 @@ retry:
294 294
 }
295 295
 
296 296
 URLProtocol ff_applehttp_protocol = {
297
-    .name      = "applehttp",
298
-    .url_open  = applehttp_open,
299
-    .url_read  = applehttp_read,
300
-    .url_close = applehttp_close,
301
-    .flags     = URL_PROTOCOL_FLAG_NESTED_SCHEME,
297
+    .name           = "applehttp",
298
+    .url_open       = applehttp_open,
299
+    .url_read       = applehttp_read,
300
+    .url_close      = applehttp_close,
301
+    .flags          = URL_PROTOCOL_FLAG_NESTED_SCHEME,
302 302
     .priv_data_size = sizeof(AppleHTTPContext),
303 303
 };
... ...
@@ -184,10 +184,10 @@ static int64_t concat_seek(URLContext *h, int64_t pos, int whence)
184 184
 }
185 185
 
186 186
 URLProtocol ff_concat_protocol = {
187
-    .name      = "concat",
188
-    .url_open  = concat_open,
189
-    .url_read  = concat_read,
190
-    .url_seek  = concat_seek,
191
-    .url_close = concat_close,
187
+    .name           = "concat",
188
+    .url_open       = concat_open,
189
+    .url_read       = concat_read,
190
+    .url_seek       = concat_seek,
191
+    .url_close      = concat_close,
192 192
     .priv_data_size = sizeof(struct concat_data),
193 193
 };
... ...
@@ -115,10 +115,10 @@ static int gopher_read(URLContext *h, uint8_t *buf, int size)
115 115
 
116 116
 
117 117
 URLProtocol ff_gopher_protocol = {
118
-    .name      = "gopher",
119
-    .url_open  = gopher_open,
120
-    .url_read  = gopher_read,
121
-    .url_write = gopher_write,
122
-    .url_close = gopher_close,
118
+    .name           = "gopher",
119
+    .url_open       = gopher_open,
120
+    .url_read       = gopher_read,
121
+    .url_write      = gopher_write,
122
+    .url_close      = gopher_close,
123 123
     .priv_data_size = sizeof(GopherContext),
124 124
 };
... ...
@@ -359,9 +359,9 @@ static int mmsh_read(URLContext *h, uint8_t *buf, int size)
359 359
 }
360 360
 
361 361
 URLProtocol ff_mmsh_protocol = {
362
-    .name      = "mmsh",
363
-    .url_open  = mmsh_open,
364
-    .url_read  = mmsh_read,
365
-    .url_close = mmsh_close,
362
+    .name           = "mmsh",
363
+    .url_open       = mmsh_open,
364
+    .url_read       = mmsh_read,
365
+    .url_close      = mmsh_close,
366 366
     .priv_data_size = sizeof(MMSHContext),
367 367
 };
... ...
@@ -620,9 +620,9 @@ static int mms_read(URLContext *h, uint8_t *buf, int size)
620 620
 }
621 621
 
622 622
 URLProtocol ff_mmst_protocol = {
623
-    .name      = "mmst",
624
-    .url_open  = mms_open,
625
-    .url_read  = mms_read,
626
-    .url_close = mms_close,
623
+    .name           = "mmst",
624
+    .url_open       = mms_open,
625
+    .url_read       = mms_read,
626
+    .url_close      = mms_close,
627 627
     .priv_data_size = sizeof(MMSTContext),
628 628
 };
... ...
@@ -992,10 +992,10 @@ static int rtmp_write(URLContext *s, const uint8_t *buf, int size)
992 992
 }
993 993
 
994 994
 URLProtocol ff_rtmp_protocol = {
995
-    .name      = "rtmp",
996
-    .url_open  = rtmp_open,
997
-    .url_read  = rtmp_read,
998
-    .url_write = rtmp_write,
999
-    .url_close = rtmp_close,
995
+    .name           = "rtmp",
996
+    .url_open       = rtmp_open,
997
+    .url_read       = rtmp_read,
998
+    .url_write      = rtmp_write,
999
+    .url_close      = rtmp_close,
1000 1000
     .priv_data_size = sizeof(RTMPContext),
1001 1001
 };