summaryrefslogtreecommitdiff
path: root/src/libffmpeg/libavcodec/common.h
diff options
context:
space:
mode:
authorJuergen Keil <jkeil@users.sourceforge.net>2002-04-26 17:29:34 +0000
committerJuergen Keil <jkeil@users.sourceforge.net>2002-04-26 17:29:34 +0000
commit5c51c07e4bd766085fd3ddbf8713cbf6d203e0db (patch)
tree28fceea67ef7e7bb669391fc1785fd2720f27677 /src/libffmpeg/libavcodec/common.h
parent76f4bb793a3164de4d7554bf585714b0c272a109 (diff)
downloadxine-lib-5c51c07e4bd766085fd3ddbf8713cbf6d203e0db.tar.gz
xine-lib-5c51c07e4bd766085fd3ddbf8713cbf6d203e0db.tar.bz2
Some minor changes to make libavcodec compibale with Sun's Forte compiler
CVS patchset: 1778 CVS date: 2002/04/26 17:29:34
Diffstat (limited to 'src/libffmpeg/libavcodec/common.h')
-rw-r--r--src/libffmpeg/libavcodec/common.h4
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