summaryrefslogtreecommitdiff
path: root/src/libffmpeg/libavutil/internal.h
diff options
context:
space:
mode:
authorFrantišek Dvořák <valtri@users.sourceforge.net>2006-09-13 23:10:50 +0000
committerFrantišek Dvořák <valtri@users.sourceforge.net>2006-09-13 23:10:50 +0000
commit31e71bd6ac7973b89490648fe663bd9a2ec0307d (patch)
treeed7d08fe37033d20ab1b3180abdb74140a7d451f /src/libffmpeg/libavutil/internal.h
parentd3f98c695c5a4013320eb3e9cd71394ea9fec234 (diff)
downloadxine-lib-31e71bd6ac7973b89490648fe663bd9a2ec0307d.tar.gz
xine-lib-31e71bd6ac7973b89490648fe663bd9a2ec0307d.tar.bz2
Fix the debug build.
CVS patchset: 8230 CVS date: 2006/09/13 23:10:50
Diffstat (limited to 'src/libffmpeg/libavutil/internal.h')
-rw-r--r--src/libffmpeg/libavutil/internal.h6
1 files changed, 5 insertions, 1 deletions
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