summaryrefslogtreecommitdiff
path: root/libavformat/gopher.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2011-12-30 11:38:05 +0200
committerMartin Storsjö <martin@martin.st>2012-01-05 23:56:52 +0200
commit32b83aeec1a129d6eef2e89c7f107c614dfb4574 (patch)
tree564aa1bbac6df55321d56f46f048144c7ad5ffa1 /libavformat/gopher.c
parentbb5b3940b08d8dad5b7e948e8f3b02cd2eb70716 (diff)
avio: Add an URLProtocol flag for indicating that a protocol uses network
This definition is in two files, since the definitions will move to the private header at the next bump. Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/gopher.c')
-rw-r--r--libavformat/gopher.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/gopher.c b/libavformat/gopher.c
index c0338619b3..a149f7fd6b 100644
--- a/libavformat/gopher.c
+++ b/libavformat/gopher.c
@@ -121,4 +121,5 @@ URLProtocol ff_gopher_protocol = {
.url_write = gopher_write,
.url_close = gopher_close,
.priv_data_size = sizeof(GopherContext),
+ .flags = URL_PROTOCOL_FLAG_NETWORK,
};