From dbd94b771f1b1a90591e556edb65c91a34f994b6 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 20 Apr 2015 04:12:45 +0200 Subject: [PATCH] avcodec/internal: Fix ff_dlog() define like av_dlog() Signed-off-by: Michael Niedermayer --- libavcodec/internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/internal.h b/libavcodec/internal.h index 38108b4b6e..83f185d538 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