avio: Add an URLProtocol flag for indicating that a protocol uses network
[ffmpeg.git] / libavformat / rtmpproto.c
index 53d912e..867969a 100644 (file)
@@ -1000,4 +1000,5 @@ URLProtocol ff_rtmp_protocol = {
     .url_write      = rtmp_write,
     .url_close      = rtmp_close,
     .priv_data_size = sizeof(RTMPContext),
+    .flags          = URL_PROTOCOL_FLAG_NETWORK,
 };