diff --git a/libavcodec/internal.h b/libavcodec/internal.h index 7f12344533..3c1583dab4 100644 --- a/libavcodec/internal.h +++ b/libavcodec/internal.h @@ -63,7 +63,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