avio: Add an URLProtocol flag for indicating that a protocol uses network
[ffmpeg.git] / libavformat / tcp.c
index 0d3aeaf..fdb457e 100644 (file)
@@ -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,
 };