Commit c3b05d21 authored by Martin Storsjö's avatar Martin Storsjö

proto: Realign struct initializers

Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
parent 7e580505
...@@ -294,10 +294,10 @@ retry: ...@@ -294,10 +294,10 @@ retry:
} }
URLProtocol ff_applehttp_protocol = { URLProtocol ff_applehttp_protocol = {
.name = "applehttp", .name = "applehttp",
.url_open = applehttp_open, .url_open = applehttp_open,
.url_read = applehttp_read, .url_read = applehttp_read,
.url_close = applehttp_close, .url_close = applehttp_close,
.flags = URL_PROTOCOL_FLAG_NESTED_SCHEME, .flags = URL_PROTOCOL_FLAG_NESTED_SCHEME,
.priv_data_size = sizeof(AppleHTTPContext), .priv_data_size = sizeof(AppleHTTPContext),
}; };
...@@ -184,10 +184,10 @@ static int64_t concat_seek(URLContext *h, int64_t pos, int whence) ...@@ -184,10 +184,10 @@ static int64_t concat_seek(URLContext *h, int64_t pos, int whence)
} }
URLProtocol ff_concat_protocol = { URLProtocol ff_concat_protocol = {
.name = "concat", .name = "concat",
.url_open = concat_open, .url_open = concat_open,
.url_read = concat_read, .url_read = concat_read,
.url_seek = concat_seek, .url_seek = concat_seek,
.url_close = concat_close, .url_close = concat_close,
.priv_data_size = sizeof(struct concat_data), .priv_data_size = sizeof(struct concat_data),
}; };
...@@ -115,10 +115,10 @@ static int gopher_read(URLContext *h, uint8_t *buf, int size) ...@@ -115,10 +115,10 @@ static int gopher_read(URLContext *h, uint8_t *buf, int size)
URLProtocol ff_gopher_protocol = { URLProtocol ff_gopher_protocol = {
.name = "gopher", .name = "gopher",
.url_open = gopher_open, .url_open = gopher_open,
.url_read = gopher_read, .url_read = gopher_read,
.url_write = gopher_write, .url_write = gopher_write,
.url_close = gopher_close, .url_close = gopher_close,
.priv_data_size = sizeof(GopherContext), .priv_data_size = sizeof(GopherContext),
}; };
...@@ -359,9 +359,9 @@ static int mmsh_read(URLContext *h, uint8_t *buf, int size) ...@@ -359,9 +359,9 @@ static int mmsh_read(URLContext *h, uint8_t *buf, int size)
} }
URLProtocol ff_mmsh_protocol = { URLProtocol ff_mmsh_protocol = {
.name = "mmsh", .name = "mmsh",
.url_open = mmsh_open, .url_open = mmsh_open,
.url_read = mmsh_read, .url_read = mmsh_read,
.url_close = mmsh_close, .url_close = mmsh_close,
.priv_data_size = sizeof(MMSHContext), .priv_data_size = sizeof(MMSHContext),
}; };
...@@ -620,9 +620,9 @@ static int mms_read(URLContext *h, uint8_t *buf, int size) ...@@ -620,9 +620,9 @@ static int mms_read(URLContext *h, uint8_t *buf, int size)
} }
URLProtocol ff_mmst_protocol = { URLProtocol ff_mmst_protocol = {
.name = "mmst", .name = "mmst",
.url_open = mms_open, .url_open = mms_open,
.url_read = mms_read, .url_read = mms_read,
.url_close = mms_close, .url_close = mms_close,
.priv_data_size = sizeof(MMSTContext), .priv_data_size = sizeof(MMSTContext),
}; };
...@@ -992,10 +992,10 @@ static int rtmp_write(URLContext *s, const uint8_t *buf, int size) ...@@ -992,10 +992,10 @@ static int rtmp_write(URLContext *s, const uint8_t *buf, int size)
} }
URLProtocol ff_rtmp_protocol = { URLProtocol ff_rtmp_protocol = {
.name = "rtmp", .name = "rtmp",
.url_open = rtmp_open, .url_open = rtmp_open,
.url_read = rtmp_read, .url_read = rtmp_read,
.url_write = rtmp_write, .url_write = rtmp_write,
.url_close = rtmp_close, .url_close = rtmp_close,
.priv_data_size = sizeof(RTMPContext), .priv_data_size = sizeof(RTMPContext),
}; };
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment