Go to the documentation of this file.
35 const char *p = strchr(uri,
'?');
44 c->verify = strtol(buf, &endptr, 10);
60 char buf[200],
opts[50] =
"";
62 const char *proxy_path;
81 ff_url_join(buf,
sizeof(buf),
"tcp",
NULL,
c->underlying_host, port,
"%s", p);
89 if (!
c->host && !(
c->host =
av_strdup(
c->underlying_host)))
92 proxy_path =
c->http_proxy ?
c->http_proxy : getenv(
"http_proxy");
97 char proxy_host[200], proxy_auth[200], dest[200];
100 proxy_host,
sizeof(proxy_host), &proxy_port,
NULL, 0,
103 ff_url_join(buf,
sizeof(buf),
"httpproxy", proxy_auth, proxy_host,
104 proxy_port,
"/%s", dest);
Filter the word “frame” indicates either a video frame or a group of audio as stored in an AVFrame structure Format for each input and each output the list of supported formats For video that means pixel format For audio that means channel sample they are references to shared objects When the negotiation mechanism computes the intersection of the formats supported at each end of a all references to both lists are replaced with a reference to the intersection And when a single format is eventually chosen for a link amongst the remaining all references to the list are updated That means that if a filter requires that its input and output have the same format amongst a supported all it has to do is use a reference to the same list of formats query_formats can leave some formats unset and return AVERROR(EAGAIN) to cause the negotiation mechanism toagain later. That can be used by filters with complex requirements to use the format negotiated on one link to set the formats supported on another. Frame references ownership and permissions
int av_find_info_tag(char *arg, int arg_size, const char *tag1, const char *info)
Attempt to find a specific tag in a URL.
#define AVIO_FLAG_READ_WRITE
read-write pseudo flag
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 ff_url_join(char *str, int size, const char *proto, const char *authorization, const char *hostname, int port, const char *fmt,...)
int ff_http_match_no_proxy(const char *no_proxy, const char *hostname)
const char * protocol_whitelist
const char * protocol_blacklist
Undefined Behavior In the C some operations are like signed integer dereferencing freed accessing outside allocated Undefined Behavior must not occur in a C it is not safe even if the output of undefined operations is unused The unsafety may seem nit picking but Optimizing compilers have in fact optimized code on the assumption that no undefined Behavior occurs Optimizing code based on wrong assumptions can and has in some cases lead to effects beyond the output of computations The signed integer overflow problem in speed critical code Code which is highly optimized and works with signed integers sometimes has the problem that often the output of the computation does not c
const OptionDef options[]
int av_strstart(const char *str, const char *pfx, const char **ptr)
Return non-zero if pfx is a prefix of str.
void av_url_split(char *proto, int proto_size, char *authorization, int authorization_size, char *hostname, int hostname_size, int *port_ptr, char *path, int path_size, const char *url)
Split a URL string into components.
int ff_tls_open_underlying(TLSShared *c, URLContext *parent, const char *uri, AVDictionary **options)
AVIOInterruptCB interrupt_callback
char * av_strdup(const char *s)
Duplicate a string.
static void set_options(TLSShared *c, const char *uri)