Revision 59f65d95 libavformat/avio.h

View differences:

libavformat/avio.h
429 429
attribute_deprecated int64_t url_fsize(AVIOContext *s);
430 430
#define URL_EOF (-1)
431 431
attribute_deprecated int url_fgetc(AVIOContext *s);
432
attribute_deprecated int url_setbufsize(AVIOContext *s, int buf_size);
432 433
/**
433 434
 * @}
434 435
 */
......
586 587
 */
587 588
int url_fdopen(AVIOContext **s, URLContext *h);
588 589

  
589
/** @warning must be called before any I/O */
590
int url_setbufsize(AVIOContext *s, int buf_size);
591 590
#if FF_API_URL_RESETBUF
592 591
/** Reset the buffer for reading or writing.
593 592
 * @note Will drop any data currently in the buffer without transmitting it.

Also available in: Unified diff