aboutsummaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer2004-06-05 22:33:47 +0000
committerMichael Niedermayer2004-06-05 22:33:47 +0000
commitf4bd8cf0b128f24d89beb1c38f19ba1b4befc8d3 (patch)
tree135b36bb9b39fdb42a207719f7211b0c8b3ab810 /libavcodec
parent2a5a1bdac9884d795b61b4f44a9c49ec15791b6c (diff)
mini-fix for compatibility with other compilers by (Hauke Duden <H.NS.Duden at gmx dot net>)
Originally committed as revision 3197 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/avcodec.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 457c990db6..0a263cbb08 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -2160,7 +2160,12 @@ void img_copy(AVPicture *dst, const AVPicture *src,
#define AV_LOG_INFO 1
#define AV_LOG_DEBUG 2
+#ifdef __GNUC__
extern void av_log(void*, int level, const char *fmt, ...) __attribute__ ((__format__ (__printf__, 3, 4)));
+#else
+extern void av_log(void*, int level, const char *fmt, ...);
+#endif
+
extern void av_vlog(void*, int level, const char *fmt, va_list);
extern int av_log_get_level(void);
extern void av_log_set_level(int);