Revision 4e38c094

View differences:

libavformat/avio.h
381 381
    return s->is_streamed;
382 382
}
383 383

  
384
/** @note when opened as read/write, the buffers are only used for
385
    writing */
384
/**
385
 * Creates and initializes a ByteIOContext for accessing the
386
 * resource referenced by the URLContext h.
387
 * @note When the URLContext h has been opened in read+write mode, the
388
 * ByteIOContext can be used only for writing.
389
 *
390
 * @param s Used to return the pointer to the created ByteIOContext.
391
 * In case of failure the pointed to value is set to NULL.
392
 * @return 0 in case of success, a negative value corresponding to an
393
 * AVERROR code in case of failure
394
 */
386 395
int url_fdopen(ByteIOContext **s, URLContext *h);
387 396

  
388 397
/** @warning must be called before any I/O */

Also available in: Unified diff