aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2011-12-01 11:53:57 +0200
committerMartin Storsjö <martin@martin.st>2011-12-01 13:47:28 +0200
commitc3b05d2159e9c2d78c62ef79c2cfcb90d766556d (patch)
tree0eade48b8a93b7c90895610691ab2ebc4ce54278
parent7e58050590c556643869a1cc57215026ff88b0db (diff)
downloadffmpeg-c3b05d2159e9c2d78c62ef79c2cfcb90d766556d.tar.gz
proto: Realign struct initializers
Signed-off-by: Martin Storsjö <martin@martin.st>
-rw-r--r--libavformat/applehttpproto.c10
-rw-r--r--libavformat/concat.c10
-rw-r--r--libavformat/gopher.c10
-rw-r--r--libavformat/mmsh.c8
-rw-r--r--libavformat/mmst.c8
-rw-r--r--libavformat/rtmpproto.c10
6 files changed, 28 insertions, 28 deletions
diff --git a/libavformat/applehttpproto.c b/libavformat/applehttpproto.c
index 245422be40..2b157095f0 100644
--- a/libavformat/applehttpproto.c
+++ b/libavformat/applehttpproto.c
@@ -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),
};
diff --git a/libavformat/concat.c b/libavformat/concat.c
index 4bfa6288ba..24c50c1e4e 100644
--- a/libavformat/concat.c
+++ b/libavformat/concat.c
@@ -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),
};
diff --git a/libavformat/gopher.c b/libavformat/gopher.c
index 0543878ba8..c0338619b3 100644
--- a/libavformat/gopher.c
+++ b/libavformat/gopher.c
@@ -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),
};
diff --git a/libavformat/mmsh.c b/libavformat/mmsh.c
index a1ae894c6e..fa1a467223 100644
--- a/libavformat/mmsh.c
+++ b/libavformat/mmsh.c
@@ -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),
};
diff --git a/libavformat/mmst.c b/libavformat/mmst.c
index 9d7fd7471c..753b05cceb 100644
--- a/libavformat/mmst.c
+++ b/libavformat/mmst.c
@@ -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),
};
diff --git a/libavformat/rtmpproto.c b/libavformat/rtmpproto.c
index f47733814e..54213b1dd0 100644
--- a/libavformat/rtmpproto.c
+++ b/libavformat/rtmpproto.c
@@ -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),
};