diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2011-05-11 12:26:25 +0200 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2011-05-11 12:26:25 +0200 |
commit | 3b6bbfa0631d237f2bbc85a7b43907733bea1e82 (patch) | |
tree | b964eef908726578c24530db8682cbf5e9b43fa8 /libavutil/log.h | |
parent | e3497907efb8b991c6de935ca8eca840f186e45b (diff) | |
download | ffmpeg-streaming-3b6bbfa0631d237f2bbc85a7b43907733bea1e82.zip ffmpeg-streaming-3b6bbfa0631d237f2bbc85a7b43907733bea1e82.tar.gz |
Check syntax even if DEBUG is not defined.
Diffstat (limited to 'libavutil/log.h')
-rw-r--r-- | libavutil/log.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/log.h b/libavutil/log.h index 0bcf2c4..c87125d 100644 --- a/libavutil/log.h +++ b/libavutil/log.h @@ -143,7 +143,7 @@ const char* av_default_item_name(void* ctx); #ifdef DEBUG # define av_dlog(pctx, ...) av_log(pctx, AV_LOG_DEBUG, __VA_ARGS__) #else -# define av_dlog(pctx, ...) +# define av_dlog(pctx, ...) do { if (0) av_log(pctx, AV_LOG_DEBUG, __VA_ARGS__); } while (0) #endif /** |