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

Function ffurl_write2

libavformat/avio.c:565–576  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

563}
564
565int ffurl_write2(void *urlcontext, const uint8_t *buf, int size)
566{
567 URLContext *h = urlcontext;
568
569 if (!(h->flags & AVIO_FLAG_WRITE))
570 return AVERROR(EIO);
571 /* avoid sending too big packets */
572 if (h->max_packet_size && size > h->max_packet_size)
573 return AVERROR(EIO);
574
575 return retry_transfer_wrapper(h, NULL, buf, size, size, 0);
576}
577
578int64_t ffurl_seek2(void *urlcontext, int64_t pos, int whence)
579{

Callers 1

ffurl_writeFunction · 0.85

Calls 1

retry_transfer_wrapperFunction · 0.85

Tested by

no test coverage detected