diff common.h @ 1545:b340e83b8d0d libavcodec

gcc->C99 and warning fixes patch by (Dan Christiansen <danchr at daimi dot au dot dk>)
author michael
date Sun, 19 Oct 2003 21:05:41 +0000
parents 79dddc5cd990
children dd544554ed42
line wrap: on
line diff
--- a/common.h	Sat Oct 18 18:47:06 2003 +0000
+++ b/common.h	Sun Oct 19 21:05:41 2003 +0000
@@ -185,9 +185,9 @@
 #    else
 
 #        ifdef DEBUG
-#            define dprintf(fmt,args...) printf(fmt, ## args)
+#            define dprintf(fmt,...) printf(fmt, __VA_ARGS__)
 #        else
-#            define dprintf(fmt,args...)
+#            define dprintf(fmt,...)
 #        endif
 
 #    endif /* !CONFIG_WIN32 */