From 31e71bd6ac7973b89490648fe663bd9a2ec0307d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franti=C5=A1ek=20Dvo=C5=99=C3=A1k?= Date: Wed, 13 Sep 2006 23:10:50 +0000 Subject: Fix the debug build. CVS patchset: 8230 CVS date: 2006/09/13 23:10:50 --- src/libffmpeg/libavutil/internal.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/libffmpeg/libavutil/internal.h') diff --git a/src/libffmpeg/libavutil/internal.h b/src/libffmpeg/libavutil/internal.h index a13061575..266976c94 100644 --- a/src/libffmpeg/libavutil/internal.h +++ b/src/libffmpeg/libavutil/internal.h @@ -87,7 +87,11 @@ /* dprintf macros */ # ifdef DEBUG -# define dprintf(fmt,...) av_log(NULL, AV_LOG_DEBUG, fmt, __VA_ARGS__) +# ifdef __GNUC__ +# define dprintf(fmt,args...) av_log(NULL, AV_LOG_DEBUG, fmt, ##args) +# else +# define dprintf(fmt,...) av_log(NULL, AV_LOG_DEBUG, fmt, __VA_ARGS__) +# endif # else # define dprintf(fmt,...) # endif -- cgit v1.2.3