summaryrefslogtreecommitdiff
path: root/libavformat/udp.c
diff options
context:
space:
mode:
authorDerek Buitenhuis <derek.buitenhuis@gmail.com>2016-02-29 16:50:39 +0000
committerDerek Buitenhuis <derek.buitenhuis@gmail.com>2016-02-29 16:51:10 +0000
commit9c75148e6ebc88a0501e3d0242defb6dbdc3c23d (patch)
treee24939addbed549191606f8b6927b29b42c18394 /libavformat/udp.c
parente3461197b1ffa0b4ebb80ee3d8567d3b286d7fc3 (diff)
parent2758cdedfb7ac61f8b5e4861f99218b6fd43491d (diff)
Merge commit '2758cdedfb7ac61f8b5e4861f99218b6fd43491d'
This commit also disables the async fate test, because it used internal APIs in a non-kosher way, which no longer exists. * commit '2758cdedfb7ac61f8b5e4861f99218b6fd43491d': lavf: reorganize URLProtocols Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Diffstat (limited to 'libavformat/udp.c')
-rw-r--r--libavformat/udp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/udp.c b/libavformat/udp.c
index ea80e52210..e42b911c42 100644
--- a/libavformat/udp.c
+++ b/libavformat/udp.c
@@ -983,7 +983,7 @@ static int udp_close(URLContext *h)
return 0;
}
-URLProtocol ff_udp_protocol = {
+const URLProtocol ff_udp_protocol = {
.name = "udp",
.url_open = udp_open,
.url_read = udp_read,
@@ -995,7 +995,7 @@ URLProtocol ff_udp_protocol = {
.flags = URL_PROTOCOL_FLAG_NETWORK,
};
-URLProtocol ff_udplite_protocol = {
+const URLProtocol ff_udplite_protocol = {
.name = "udplite",
.url_open = udplite_open,
.url_read = udp_read,