Lines Matching defs:options
57 static const AVOption options[] = {
67 .option = options,
139 av_log(uc, AV_LOG_ERROR, "Error parsing options string %s\n", start);
166 int ffurl_connect(URLContext *uc, AVDictionary **options)
172 if (!options)
173 options = &tmp_opts;
176 av_assert0(!(e=av_dict_get(*options, "protocol_whitelist", NULL, 0)) ||
178 av_assert0(!(e=av_dict_get(*options, "protocol_blacklist", NULL, 0)) ||
200 if ((err = av_dict_set(options, "protocol_whitelist", uc->protocol_whitelist, 0)) < 0)
202 if ((err = av_dict_set(options, "protocol_blacklist", uc->protocol_blacklist, 0)) < 0)
209 options) :
212 av_dict_set(options, "protocol_whitelist", NULL, 0);
213 av_dict_set(options, "protocol_blacklist", NULL, 0);
307 const AVIOInterruptCB *int_cb, AVDictionary **options,
321 if (options &&
322 (ret = av_opt_set_dict(*puc, options)) < 0)
324 if (options && (*puc)->prot->priv_data_class &&
325 (ret = av_opt_set_dict((*puc)->priv_data, options)) < 0)
328 if (!options)
329 options = &tmp_opts;
332 !(e=av_dict_get(*options, "protocol_whitelist", NULL, 0)) ||
335 !(e=av_dict_get(*options, "protocol_blacklist", NULL, 0)) ||
338 if ((ret = av_dict_set(options, "protocol_whitelist", whitelist, 0)) < 0)
341 if ((ret = av_dict_set(options, "protocol_blacklist", blacklist, 0)) < 0)
344 if ((ret = av_opt_set_dict(*puc, options)) < 0)
347 ret = ffurl_connect(*puc, options);
531 int avio_open_dir(AVIODirContext **s, const char *url, AVDictionary **options)
548 if (options && h->prot->priv_data_class &&
549 (ret = av_opt_set_dict(h->priv_data, options)) < 0)