48 for (
i=0;
i<
c->child_count;
i++) {
62 for (
i=0;
i<
c->child_count;
i++) {
82 char *child_name =
NULL;
96 memset(&
c->child[
c->child_count], 0,
sizeof(
c->child[
c->child_count]));
104 h->protocol_whitelist,
h->protocol_blacklist,
118 for (
i=0;
i<
c->child_count;
i++) {
119 h->is_streamed |=
c->child[
i].url_context->is_streamed;
122 h->max_packet_size = 0;
123 for (
i = 0;
i <
c->child_count;
i++) {
124 int max =
c->child[
i].url_context->max_packet_size;
128 if (!
h->max_packet_size)
129 h->max_packet_size =
max;
130 else if (
h->max_packet_size >
max)
131 h->max_packet_size =
max;
145 .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.
int ffurl_closep(URLContext **hh)
Close the resource accessed by the URLContext h, and free the memory used by it.
#define flags(name, subs,...)
#define i(width, name, range_min, range_max)
void av_dict_free(AVDictionary **pm)
Free all the memory allocated for an AVDictionary struct and all keys and values.
void * av_realloc_array(void *ptr, size_t nmemb, size_t size)
int av_strstart(const char *str, const char *pfx, const char **ptr)
Return non-zero if pfx is a prefix of str.
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...
Memory handling functions.
const URLProtocol ff_tee_protocol
int ff_tee_parse_slave_options(void *log, char *slave, AVDictionary **options, char **filename)
static int tee_close(URLContext *h)
static const char *const child_delim
static int tee_write(URLContext *h, const unsigned char *buf, int size)
static int tee_open(URLContext *h, const char *filename, int flags)
unbuffered private I/O API
static int ffurl_write(URLContext *h, const uint8_t *buf, int size)
Write size bytes from buf to the resource accessed by h.