aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil
diff options
context:
space:
mode:
authorMichel Bardiaux <mbardiaux@mediaxim.be>2007-03-12 12:36:41 +0000
committerMichel Bardiaux <mbardiaux@mediaxim.be>2007-03-12 12:36:41 +0000
commit318c5e052415aada4036c382cb0ef243113f667a (patch)
tree1badf5b9254d9b8807759f59bd6121f9ce180b3b /libavutil
parentea486ab3bede4fc68b8cccb70791cdfa589a0fcb (diff)
downloadffmpeg-318c5e052415aada4036c382cb0ef243113f667a.tar.gz
Give context to dprintf
Originally committed as revision 8338 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil')
-rw-r--r--libavutil/internal.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavutil/internal.h b/libavutil/internal.h
index a391f9cb2b..74477b7629 100644
--- a/libavutil/internal.h
+++ b/libavutil/internal.h
@@ -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)