[FFmpeg-cvslog] avutil/attributes: Fix too many warning: false is not defined [-Wundef]

Limin Wang git at videolan.org
Sat May 30 12:49:27 EEST 2020


ffmpeg | branch: master | Limin Wang <lance.lmwang at gmail.com> | Fri May 29 19:14:18 2020 +0800| [77e15f01fb876561054376c11b1529b202f8130d] | committer: Limin Wang

avutil/attributes: Fix too many warning: false is not defined [-Wundef]

Reviewed-by: James Almer <jamrial at gmail.com>
Reviewed-by: Hendrik Leppkes <h.leppkes at gmail.com>
Signed-off-by: Limin Wang <lance.lmwang at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=77e15f01fb876561054376c11b1529b202f8130d
---

 libavutil/attributes.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavutil/attributes.h b/libavutil/attributes.h
index ab2a1fdd0e..5cb9fe3452 100644
--- a/libavutil/attributes.h
+++ b/libavutil/attributes.h
@@ -37,7 +37,7 @@
 #ifdef __has_builtin
 #    define AV_HAS_BUILTIN(x) __has_builtin(x)
 #else
-#    define AV_HAS_BUILTIN(x) false
+#    define AV_HAS_BUILTIN(x) 0
 #endif
 
 #ifndef av_always_inline



More information about the ffmpeg-cvslog mailing list