Lines Matching refs:puc
108 static int url_alloc_for_protocol(URLContext **puc, struct URLProtocol *up,
180 *puc = uc;
183 *puc = NULL;
249 int ffurl_alloc(URLContext **puc, const char *filename, int flags,
261 return url_alloc_for_protocol(puc, p, filename, flags, int_cb);
263 *puc = NULL;
269 int ffurl_open(URLContext **puc, const char *filename, int flags,
272 int ret = ffurl_alloc(puc, filename, flags, int_cb);
275 if (options && (*puc)->prot->priv_data_class &&
276 (ret = av_opt_set_dict((*puc)->priv_data, options)) < 0)
278 if ((ret = av_opt_set_dict(*puc, options)) < 0)
280 ret = ffurl_connect(*puc, options);
284 ffurl_close(*puc);
285 *puc = NULL;