[FFmpeg-cvslog] avcodec/internal: Fix ff_dlog() define like av_dlog()

Michael Niedermayer git at videolan.org
Mon Apr 20 04:28:20 CEST 2015


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Apr 20 04:12:45 2015 +0200| [dbd94b771f1b1a90591e556edb65c91a34f994b6] | committer: Michael Niedermayer

avcodec/internal: Fix ff_dlog() define like av_dlog()

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=dbd94b771f1b1a90591e556edb65c91a34f994b6
---

 libavcodec/internal.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/internal.h b/libavcodec/internal.h
index 38108b4..83f185d 100644
--- a/libavcodec/internal.h
+++ b/libavcodec/internal.h
@@ -51,7 +51,7 @@
 #ifdef DEBUG
 #   define ff_dlog(ctx, ...) av_log(ctx, AV_LOG_DEBUG, __VA_ARGS__)
 #else
-#   define ff_dlog(ctx, ...)
+#   define ff_dlog(ctx, ...) do { if (0) av_log(ctx, AV_LOG_DEBUG, __VA_ARGS__); } while (0)
 #endif
 
 #ifdef TRACE



More information about the ffmpeg-cvslog mailing list