aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2003-08-29 20:33:57 +0000
committerMichael Niedermayer <michaelni@gmx.at>2003-08-29 20:33:57 +0000
commit572f992eff59313bd098a98e919183f3123b1fe1 (patch)
tree46f9e9a447969c54da305e3c5cbf93979fe874b5
parente8d83e1c261b878a7491fd2aa5031b9d8f49e31c (diff)
downloadffmpeg-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
-rw-r--r--libavformat/avio.h4
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);