diff --git a/src/add-ons/media/plugins/avcodec/libavcodec/common.h b/src/add-ons/media/plugins/avcodec/libavcodec/common.h index 385372f792..84df80cfe8 100644 --- a/src/add-ons/media/plugins/avcodec/libavcodec/common.h +++ b/src/add-ons/media/plugins/avcodec/libavcodec/common.h @@ -201,9 +201,17 @@ inline void dprintf(const char* fmt,...) {} # else # ifdef DEBUG -# define dprintf(fmt,...) printf(fmt, __VA_ARGS__) +# if defined(__BEOS__) +# define dprintf(fmt...) printf(fmt) +# else +# define dprintf(fmt,...) printf(fmt, __VA_ARGS__) +# endif # else -# define dprintf(fmt,...) +# if defined(__BEOS__) +# define dprintf(fmt...) +# else +# define dprintf(fmt,...) +# endif # endif # endif /* !CONFIG_WIN32 */