projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a5a1bd
)
mini-fix for compatibility with other compilers by (Hauke Duden <H.NS.Duden at gmx...
author
Michael Niedermayer
<michaelni@gmx.at>
Sat, 5 Jun 2004 22:33:47 +0000
(22:33 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Sat, 5 Jun 2004 22:33:47 +0000
(22:33 +0000)
Originally committed as revision 3197 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/avcodec.h
patch
|
blob
|
history
diff --git
a/libavcodec/avcodec.h
b/libavcodec/avcodec.h
index
457c990
..
0a263cb
100644
(file)
--- 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);