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

Function ffurl_read

libavformat/url.h:181–184  ·  view source on GitHub ↗

* Read up to size bytes from the resource accessed by h, and store * the read bytes in buf. * * @return The number of bytes actually read, or a negative value * corresponding to an AVERROR code in case of error. A value of zero * indicates that it is not possible to read more from the accessed * resource (except if the value of the size argument is also zero). */

Source from the content-addressed store, hash-verified

179 * resource (except if the value of the size argument is also zero).
180 */
181static inline int ffurl_read(URLContext *h, uint8_t *buf, int size)
182{
183 return ffurl_read2(h, buf, size);
184}
185
186/**
187 * Read as many bytes as possible (up to size), calling the

Callers 15

tls_read_callbackFunction · 0.85
tls_read_cbFunction · 0.85
udp_read_packetFunction · 0.85
rtp_read_headerFunction · 0.85
gopher_readFunction · 0.85
http_getcFunction · 0.85
http_buf_readFunction · 0.85
http_shutdownFunction · 0.85
http_seek_internalFunction · 0.85
url_bio_breadFunction · 0.85
rtmpe_readFunction · 0.85
ff_url_read_allFunction · 0.85

Calls 1

ffurl_read2Function · 0.85

Tested by

no test coverage detected