diff --git a/libavutil/attributes.h b/libavutil/attributes.h index c1f26f5ba4..64b46f68f0 100644 --- a/libavutil/attributes.h +++ b/libavutil/attributes.h @@ -131,7 +131,7 @@ # define av_alias #endif -#if defined(__GNUC__) && !defined(__INTEL_COMPILER) +#if defined(__GNUC__) && !defined(__INTEL_COMPILER) && !defined(__clang__) # define av_uninit(x) x=x #else # define av_uninit(x) x