diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-04-07 21:01:17 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-04-08 15:59:26 +0200 |
commit | 5593f031489f54ad184dd2d2744e31006c8627a5 (patch) | |
tree | e96ae18210a8c91895168e4fbd3a1783e98af440 /libavformat/avio.h | |
parent | c486dade95ba529151391a7879538c9d4787752b (diff) | |
download | ffmpeg-5593f031489f54ad184dd2d2744e31006c8627a5.tar.gz |
avio: make URLProtocol internal.
Diffstat (limited to 'libavformat/avio.h')
-rw-r--r-- | libavformat/avio.h | 6 |
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; |