From c486dade95ba529151391a7879538c9d4787752b Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Thu, 7 Apr 2011 20:25:52 +0200 Subject: avio: make URLContext internal. --- libavformat/url.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'libavformat/url.h') 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 /** -- cgit v1.2.3