diff options
Diffstat (limited to 'src/libffmpeg/libavcodec/common.h')
-rw-r--r-- | src/libffmpeg/libavcodec/common.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libffmpeg/libavcodec/common.h b/src/libffmpeg/libavcodec/common.h index 5cab8554b..53e123d48 100644 --- a/src/libffmpeg/libavcodec/common.h +++ b/src/libffmpeg/libavcodec/common.h @@ -148,7 +148,11 @@ inline void dprintf(const char* fmt,...) {} #else #ifdef DEBUG +#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95) || !defined(__GNUC__) +#define dprintf(...) printf(__VA_ARGS__) +#else #define dprintf(fmt,args...) printf(fmt, ## args) +#endif #else #define dprintf(fmt,args...) #endif |