Commit 08f29f82 authored by Michael Niedermayer's avatar Michael Niedermayer

Patch for attribute(printf) by (Michel Bardiaux <mbardiaux at peaktime dot be>)

Originally committed as revision 2322 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent b49d4175
...@@ -110,7 +110,7 @@ int url_feof(ByteIOContext *s); ...@@ -110,7 +110,7 @@ int url_feof(ByteIOContext *s);
#define URL_EOF (-1) #define URL_EOF (-1)
int url_fgetc(ByteIOContext *s); int url_fgetc(ByteIOContext *s);
#ifdef __GNUC__ #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 #else
int url_fprintf(ByteIOContext *s, const char *fmt, ...); int url_fprintf(ByteIOContext *s, const char *fmt, ...);
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment