MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / ffurl_alloc

Function ffurl_alloc

libavformat/avio.c:350–361  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

348}
349
350int ffurl_alloc(URLContext **puc, const char *filename, int flags,
351 const AVIOInterruptCB *int_cb)
352{
353 const URLProtocol *p = NULL;
354
355 p = url_find_protocol(filename);
356 if (p)
357 return url_alloc_for_protocol(puc, p, filename, flags, int_cb);
358
359 *puc = NULL;
360 return AVERROR_PROTOCOL_NOT_FOUND;
361}
362
363int ffurl_open_whitelist(URLContext **puc, const char *filename, int flags,
364 const AVIOInterruptCB *int_cb, AVDictionary **options,

Callers 10

ff_rtsp_connectFunction · 0.85
ffurl_open_whitelistFunction · 0.85
avio_checkFunction · 0.85
ffurl_moveFunction · 0.85
ffurl_deleteFunction · 0.85
avio_open_dirFunction · 0.85
http_acceptFunction · 0.85
tcp_acceptFunction · 0.85
rtmp_http_openFunction · 0.85
mmsh_open_internalFunction · 0.85

Calls 2

url_find_protocolFunction · 0.85
url_alloc_for_protocolFunction · 0.85

Tested by

no test coverage detected