summaryrefslogtreecommitdiff
path: root/src/libffmpeg
diff options
context:
space:
mode:
authorJuergen Keil <jkeil@users.sourceforge.net>2002-01-02 18:16:07 +0000
committerJuergen Keil <jkeil@users.sourceforge.net>2002-01-02 18:16:07 +0000
commit11b26a83b403b3f3661aa59cfc5c3f2c1a7e1705 (patch)
tree1bb9fc098e4b2ba6e7d66a793b7491d057cdf2e8 /src/libffmpeg
parent671368008941ee43f9e541477eef8530ded71654 (diff)
downloadxine-lib-11b26a83b403b3f3661aa59cfc5c3f2c1a7e1705.tar.gz
xine-lib-11b26a83b403b3f3661aa59cfc5c3f2c1a7e1705.tar.bz2
Correct spelling of __VA_ARGS__ macro
CVS patchset: 1324 CVS date: 2002/01/02 18:16:07
Diffstat (limited to 'src/libffmpeg')
-rw-r--r--src/libffmpeg/libavcodec/common.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/libffmpeg/libavcodec/common.h b/src/libffmpeg/libavcodec/common.h
index be9678cf4..aa8f9b54a 100644
--- a/src/libffmpeg/libavcodec/common.h
+++ b/src/libffmpeg/libavcodec/common.h
@@ -142,11 +142,19 @@ inline void dprintf(const char* fmt,...) {}
#else
+#ifdef __GNUC__
#ifdef DEBUG
#define dprintf(fmt,args...) printf(fmt, ## args)
#else
#define dprintf(fmt,args...)
#endif
+#else
+#ifdef DEBUG
+#define dprintf(fmt,...) printf(fmt, __VA_ARGS__)
+#else
+#define dprintf(fmt,...)
+#endif
+#endif
#endif /* !CONFIG_WIN32 */