avio: Add an URLProtocol flag for indicating that a protocol uses network
[ffmpeg.git] / libavformat / gopher.c
index c033861..a149f7f 100644 (file)
@@ -121,4 +121,5 @@ URLProtocol ff_gopher_protocol = {
     .url_write      = gopher_write,
     .url_close      = gopher_close,
     .priv_data_size = sizeof(GopherContext),
+    .flags          = URL_PROTOCOL_FLAG_NETWORK,
 };