summaryrefslogtreecommitdiff
path: root/libavformat/avio.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-04-07 21:01:17 +0200
committerAnton Khirnov <anton@khirnov.net>2011-04-08 15:59:26 +0200
commit5593f031489f54ad184dd2d2744e31006c8627a5 (patch)
treee96ae18210a8c91895168e4fbd3a1783e98af440 /libavformat/avio.h
parentc486dade95ba529151391a7879538c9d4787752b (diff)
avio: make URLProtocol internal.
Diffstat (limited to 'libavformat/avio.h')
-rw-r--r--libavformat/avio.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/libavformat/avio.h b/libavformat/avio.h
index a97d6308ac..c39d2a0444 100644
--- a/libavformat/avio.h
+++ b/libavformat/avio.h
@@ -139,8 +139,11 @@ attribute_deprecated int url_poll(URLPollEntry *poll_table, int n, int timeout);
#define URL_PROTOCOL_FLAG_NESTED_SCHEME 1 /*< The protocol name can be the first part of a nested protocol scheme */
-#endif
+/**
+ * @deprecated This struct is to be made private. Use the higher-level
+ * AVIOContext-based API instead.
+ */
typedef struct URLProtocol {
const char *name;
int (*url_open)(URLContext *h, const char *url, int flags);
@@ -157,6 +160,7 @@ typedef struct URLProtocol {
const AVClass *priv_data_class;
int flags;
} URLProtocol;
+#endif
#if FF_API_REGISTER_PROTOCOL
extern URLProtocol *first_protocol;