Browse Source

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
tags/v0.5
Michael Niedermayer 22 years ago
parent
commit
f4bd8cf0b1
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      libavcodec/avcodec.h

+ 5
- 0
libavcodec/avcodec.h View File

@@ -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);


Loading…
Cancel
Save