Corrections so that builds with DEBUG work

Originally committed as revision 8295 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michel Bardiaux
2007-03-08 14:49:43 +00:00
parent 07cbff39a7
commit bdb4b698d8
4 changed files with 8 additions and 5 deletions

View File

@@ -150,9 +150,9 @@
/* dprintf macros */
#ifdef DEBUG
# define dprintf(fmt,...) av_log(NULL, AV_LOG_DEBUG, fmt, __VA_ARGS__)
# define dprintf(...) av_log(NULL, AV_LOG_DEBUG, __VA_ARGS__)
#else
# define dprintf(fmt,...)
# define dprintf(...)
#endif
#define av_abort() do { av_log(NULL, AV_LOG_ERROR, "Abort at %s:%d\n", __FILE__, __LINE__); abort(); } while (0)