diff --git a/libavcodec/internal.h b/libavcodec/internal.h index fbee41132b..52b89172cb 100644 --- a/libavcodec/internal.h +++ b/libavcodec/internal.h @@ -57,7 +57,7 @@ #ifdef TRACE # define ff_tlog(ctx, ...) av_log(ctx, AV_LOG_TRACE, __VA_ARGS__) #else -# define ff_tlog(ctx, ...) while(0) {} +# define ff_tlog(ctx, ...) do {} while(0) #endif