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