diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2003-08-29 20:33:57 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2003-08-29 20:33:57 +0000 |
commit | 572f992eff59313bd098a98e919183f3123b1fe1 (patch) | |
tree | 46f9e9a447969c54da305e3c5cbf93979fe874b5 /libavformat | |
parent | e8d83e1c261b878a7491fd2aa5031b9d8f49e31c (diff) | |
download | ffmpeg-572f992eff59313bd098a98e919183f3123b1fe1.tar.gz |
libavformat/avio.h compilation problem in VisualC++ by (lethean at realtime dot ssu dot ac dot kr)
Originally committed as revision 2182 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/avio.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavformat/avio.h b/libavformat/avio.h index b31689ab25..cc0b5f9b05 100644 --- a/libavformat/avio.h +++ b/libavformat/avio.h @@ -109,7 +109,11 @@ int url_feof(ByteIOContext *s); #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); |