From: Zhao Zhili <[email protected]> The macro is dangerous since it can hide real issue. --- libavutil/attributes.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/libavutil/attributes.h b/libavutil/attributes.h index 04c615c952..a7c64cf8fc 100644 --- a/libavutil/attributes.h +++ b/libavutil/attributes.h @@ -150,11 +150,10 @@ # define av_alias #endif -#if (defined(__GNUC__) || defined(__clang__)) && !defined(__INTEL_COMPILER) -# define av_uninit(x) x=x -#else -# define av_uninit(x) x -#endif +/** + * This macro is deprecated + */ +#define av_uninit(x) x #if defined(__GNUC__) || defined(__clang__) # define av_builtin_constant_p __builtin_constant_p -- 2.46.0 _______________________________________________ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
