diff internal.h @ 285:c529dbdea4f7 libavutil

Give context to dprintf
author mbardiaux
date Mon, 12 Mar 2007 12:36:41 +0000
parents 0e64c1d076ef
children 39cdbea1a8f1
line wrap: on
line diff
--- a/internal.h	Fri Mar 09 15:18:07 2007 +0000
+++ b/internal.h	Mon Mar 12 12:36:41 2007 +0000
@@ -150,9 +150,9 @@
 
 /* dprintf macros */
 #ifdef DEBUG
-#    define dprintf(...) av_log(NULL, AV_LOG_DEBUG, __VA_ARGS__)
+#    define dprintf(pctx, ...) av_log(pctx, AV_LOG_DEBUG, __VA_ARGS__)
 #else
-#    define dprintf(...)
+#    define dprintf(pctx, ...)
 #endif
 
 #define av_abort()      do { av_log(NULL, AV_LOG_ERROR, "Abort at %s:%d\n", __FILE__, __LINE__); abort(); } while (0)