aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/udp.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/udp.c
parentbb5b3940b08d8dad5b7e948e8f3b02cd2eb70716 (diff)
downloadffmpeg-32b83aeec1a129d6eef2e89c7f107c614dfb4574.tar.gz
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/udp.c')
-rw-r--r--libavformat/udp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/udp.c b/libavformat/udp.c
index 2bdd3dc773..8bb63c6298 100644
--- a/libavformat/udp.c
+++ b/libavformat/udp.c
@@ -491,4 +491,5 @@ URLProtocol ff_udp_protocol = {
.url_close = udp_close,
.url_get_file_handle = udp_get_file_handle,
.priv_data_size = sizeof(UDPContext),
+ .flags = URL_PROTOCOL_FLAG_NETWORK,
};