From 08f29f82b94704a9d2ea415a421bc579098303b7 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 30 Sep 2003 17:54:30 +0000 Subject: [PATCH] Patch for attribute(printf) by (Michel Bardiaux ) Originally committed as revision 2322 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/avio.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/avio.h b/libavformat/avio.h index cc0b5f9..df287b8 100644 --- a/libavformat/avio.h +++ b/libavformat/avio.h @@ -110,7 +110,7 @@ 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))); +int url_fprintf(ByteIOContext *s, const char *fmt, ...) __attribute__ ((__format__ (__printf__, 2, 3))); #else int url_fprintf(ByteIOContext *s, const char *fmt, ...); #endif -- 2.7.4