diff options
author | Michel Bardiaux <mbardiaux@mediaxim.be> | 2007-03-12 12:36:41 +0000 |
---|---|---|
committer | Michel Bardiaux <mbardiaux@mediaxim.be> | 2007-03-12 12:36:41 +0000 |
commit | 318c5e052415aada4036c382cb0ef243113f667a (patch) | |
tree | 1badf5b9254d9b8807759f59bd6121f9ce180b3b /libavutil | |
parent | ea486ab3bede4fc68b8cccb70791cdfa589a0fcb (diff) | |
download | ffmpeg-streaming-318c5e052415aada4036c382cb0ef243113f667a.zip ffmpeg-streaming-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.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavutil/internal.h b/libavutil/internal.h index a391f9c..74477b7 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) |