ffmpeg | branch: master | Michael Niedermayer <[email protected]> | 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 <[email protected]> > 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 _______________________________________________ ffmpeg-cvslog mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog
