Mercurial > libavformat.hg
changeset 206:3a493a2e5bba libavformat
libavformat/avio.h compilation problem in VisualC++ by (lethean at realtime dot ssu dot ac dot kr)
author | michaelni |
---|---|
date | Fri, 29 Aug 2003 20:33:57 +0000 |
parents | e5491d64edb3 |
children | 7865656658dc |
files | avio.h |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/avio.h Fri Aug 29 17:27:48 2003 +0000 +++ b/avio.h Fri Aug 29 20:33:57 2003 +0000 @@ -109,7 +109,11 @@ #define URL_EOF (-1) int url_fgetc(ByteIOContext *s); +#ifdef __GNUC__ int url_fprintf(ByteIOContext *s, const char *fmt, ...) __attribute__ ((format (printf, 2, 3))); +#else +int url_fprintf(ByteIOContext *s, const char *fmt, ...); +#endif char *url_fgets(ByteIOContext *s, char *buf, int buf_size); void put_flush_packet(ByteIOContext *s);