diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2015-08-17 20:27:25 -0400 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2015-08-18 09:46:49 -0400 |
commit | 70a19c482a62bbbcda5a1115cfcd6a708f598fbc (patch) | |
tree | 44fa374ad2096bfd1aa76c2e1c035871b2f3b27e /libavutil/internal.h | |
parent | b807f7e286642ea5303ad30ba7003beb1e65a862 (diff) | |
download | ffmpeg-70a19c482a62bbbcda5a1115cfcd6a708f598fbc.tar.gz |
Move ff_dlog from lavc to lavu.
Diffstat (limited to 'libavutil/internal.h')
-rw-r--r-- | libavutil/internal.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libavutil/internal.h b/libavutil/internal.h index a46b2b15ce..047f742e5a 100644 --- a/libavutil/internal.h +++ b/libavutil/internal.h @@ -250,6 +250,12 @@ void avpriv_request_sample(void *avc, #define SIZE_SPECIFIER "zu" #endif +#ifdef DEBUG +# define ff_dlog(ctx, ...) av_log(ctx, AV_LOG_DEBUG, __VA_ARGS__) +#else +# define ff_dlog(ctx, ...) do { if (0) av_log(ctx, AV_LOG_DEBUG, __VA_ARGS__); } while (0) +#endif + /** * A wrapper for open() setting O_CLOEXEC. */ |