94 char *child_name =
NULL;
145 .priv_data_class = &tee_class,
146 .default_whitelist =
"crypto,file,http,https,httpproxy,rtmp,tcp,tls"
int ffurl_open_whitelist(URLContext **puc, const char *filename, int flags, const AVIOInterruptCB *int_cb, AVDictionary **options, const char *whitelist, const char *blacklist, URLContext *parent)
Create an URLContext for accessing to the resource indicated by url, and open it. ...
#define LIBAVUTIL_VERSION_INT
static const char *const child_delim
int ffurl_write(URLContext *h, const unsigned char *buf, int size)
Write size bytes from buf to the resource accessed by h.
int is_streamed
true if streamed (no seek possible), default = false
static const AVClass tee_class
AVIOInterruptCB interrupt_callback
#define AVIO_FLAG_READ
read-only
const char * av_default_item_name(void *ptr)
Return the context name.
static int tee_write(URLContext *h, const unsigned char *buf, int size)
const char * class_name
The name of the class; usually it is the same name as the context structure type to which the AVClass...
void * av_realloc_array(void *ptr, size_t nmemb, size_t size)
const char * protocol_whitelist
void av_dict_free(AVDictionary **pm)
Free all the memory allocated for an AVDictionary struct and all keys and values. ...
char * av_get_token(const char **buf, const char *term)
Unescape the given string until a non escaped terminating char, and return the token corresponding to...
static int tee_close(URLContext *h)
int ff_tee_parse_slave_options(void *log, char *slave, AVDictionary **options, char **filename)
static const AVOption tee_options[]
int ffurl_closep(URLContext **hh)
Close the resource accessed by the URLContext h, and free the memory used by it.
const char * protocol_blacklist
Describe the class of an AVClass context structure.
#define flags(name, subs,...)
static int tee_open(URLContext *h, const char *filename, int flags)
const URLProtocol ff_tee_protocol
int av_strstart(const char *str, const char *pfx, const char **ptr)
Return non-zero if pfx is a prefix of str.
const OptionDef options[]