aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/url.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-04-07 20:25:52 +0200
committerAnton Khirnov <anton@khirnov.net>2011-04-08 15:59:19 +0200
commitc486dade95ba529151391a7879538c9d4787752b (patch)
tree6071fd5bb32d595fecc72dcf3ff8cf3f32020a59 /libavformat/url.h
parentc5704b2b9a9cb38e27d24f9962594def16870c52 (diff)
downloadffmpeg-c486dade95ba529151391a7879538c9d4787752b.tar.gz
avio: make URLContext internal.
Diffstat (limited to 'libavformat/url.h')
-rw-r--r--libavformat/url.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/libavformat/url.h b/libavformat/url.h
index b8ea6ad2eb..b6c110dfe9 100644
--- a/libavformat/url.h
+++ b/libavformat/url.h
@@ -32,6 +32,17 @@
#define URL_PROTOCOL_FLAG_NESTED_SCHEME 1 /*< The protocol name can be the first part of a nested protocol scheme */
extern int (*url_interrupt_cb)(void);
+
+typedef struct URLContext {
+ const AVClass *av_class; /**< information for av_log(). Set by url_open(). */
+ struct URLProtocol *prot;
+ void *priv_data;
+ char *filename; /**< specified URL */
+ int flags;
+ int max_packet_size; /**< if non zero, the stream is packetized with this max packet size */
+ int is_streamed; /**< true if streamed (no seek possible), default = false */
+ int is_connected;
+} URLContext;
#endif
/**