Mercurial > libavcodec.hg
changeset 2058:781ba1c85d46 libavcodec
mini-fix for compatibility with other compilers by (Hauke Duden <H.NS.Duden at gmx dot net>)
author | michael |
---|---|
date | Sat, 05 Jun 2004 22:33:47 +0000 |
parents | 4c663228e020 |
children | ad972ab280bc |
files | avcodec.h |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/avcodec.h Sat Jun 05 22:29:37 2004 +0000 +++ b/avcodec.h Sat Jun 05 22:33:47 2004 +0000 @@ -2160,7 +2160,12 @@ #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);