summaryrefslogtreecommitdiff
path: root/libavformat/rtpproto.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/rtpproto.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/rtpproto.c')
-rw-r--r--libavformat/rtpproto.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/rtpproto.c b/libavformat/rtpproto.c
index 93cad3c8e6..03794ae1ce 100644
--- a/libavformat/rtpproto.c
+++ b/libavformat/rtpproto.c
@@ -330,4 +330,5 @@ URLProtocol ff_rtp_protocol = {
.url_close = rtp_close,
.url_get_file_handle = rtp_get_file_handle,
.priv_data_size = sizeof(RTPContext),
+ .flags = URL_PROTOCOL_FLAG_NETWORK,
};