Revision d9d86e00 libavformat/avio.h
libavformat/avio.h | ||
---|---|---|
430 | 430 |
#define URL_EOF (-1) |
431 | 431 |
attribute_deprecated int url_fgetc(AVIOContext *s); |
432 | 432 |
attribute_deprecated int url_setbufsize(AVIOContext *s, int buf_size); |
433 |
#ifdef __GNUC__ |
|
434 |
attribute_deprecated int url_fprintf(AVIOContext *s, const char *fmt, ...) __attribute__ ((__format__ (__printf__, 2, 3))); |
|
435 |
#else |
|
436 |
attribute_deprecated int url_fprintf(AVIOContext *s, const char *fmt, ...); |
|
437 |
#endif |
|
433 | 438 |
/** |
434 | 439 |
* @} |
435 | 440 |
*/ |
... | ... | |
513 | 518 |
|
514 | 519 |
/** @warning currently size is limited */ |
515 | 520 |
#ifdef __GNUC__ |
516 |
int url_fprintf(AVIOContext *s, const char *fmt, ...) __attribute__ ((__format__ (__printf__, 2, 3)));
|
|
521 |
int avio_printf(AVIOContext *s, const char *fmt, ...) __attribute__ ((__format__ (__printf__, 2, 3)));
|
|
517 | 522 |
#else |
518 |
int url_fprintf(AVIOContext *s, const char *fmt, ...);
|
|
523 |
int avio_printf(AVIOContext *s, const char *fmt, ...);
|
|
519 | 524 |
#endif |
520 | 525 |
|
521 | 526 |
#if FF_API_OLD_AVIO |
Also available in: Unified diff