From 32b83aeec1a129d6eef2e89c7f107c614dfb4574 Mon Sep 17 00:00:00 2001 From: Martin Storsjö Date: Fri, 30 Dec 2011 11:38:05 +0200 Subject: avio: Add an URLProtocol flag for indicating that a protocol uses network MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This definition is in two files, since the definitions will move to the private header at the next bump. Signed-off-by: Martin Storsjö --- libavformat/tcp.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libavformat/tcp.c') diff --git a/libavformat/tcp.c b/libavformat/tcp.c index 0d3aeaf48c..fdb457e8c5 100644 --- a/libavformat/tcp.c +++ b/libavformat/tcp.c @@ -204,4 +204,5 @@ URLProtocol ff_tcp_protocol = { .url_close = tcp_close, .url_get_file_handle = tcp_get_file_handle, .priv_data_size = sizeof(TCPContext), + .flags = URL_PROTOCOL_FLAG_NETWORK, }; -- cgit v1.2.3