mirror of
https://github.com/webmproject/libwebp.git
synced 2025-07-15 13:29:54 +02:00
Compare commits
3 Commits
v1.4.0-rc1
...
v1.4.0
Author | SHA1 | Date | |
---|---|---|---|
845d5476a8 | |||
8a6a55bba8 | |||
cf7c5a5de8 |
@ -1,3 +1,6 @@
|
||||
8a6a55bb update NEWS
|
||||
cf7c5a5d provide a way to opt-out/override WEBP_NODISCARD
|
||||
cc34288a update ChangeLog (tag: v1.4.0-rc1)
|
||||
f13c0886 NEWS: fix date
|
||||
74555950 Merge "vwebp: fix window title when options are given" into 1.4.0
|
||||
d781646c vwebp: fix window title when options are given
|
||||
|
4
NEWS
4
NEWS
@ -1,4 +1,4 @@
|
||||
- 4/2/2024: version 1.4.0
|
||||
- 4/12/2024: version 1.4.0
|
||||
This is a binary compatible release.
|
||||
* API changes:
|
||||
- libwebpmux: WebPAnimEncoderSetChunk, WebPAnimEncoderGetChunk,
|
||||
@ -7,6 +7,8 @@
|
||||
- extras: SharpYuvEstimate420Risk
|
||||
* further security related hardening in libwebp & examples
|
||||
* some minor optimizations in the lossless encoder
|
||||
* added WEBP_NODISCARD to report unused result warnings; enable with
|
||||
-DWEBP_ENABLE_NODISCARD=1
|
||||
* improvements and corrections in webp-container-spec.txt and
|
||||
webp-lossless-bitstream-spec.txt (#611)
|
||||
* miscellaneous warning, bug & build fixes (#615, #619, #632, #635)
|
||||
|
@ -36,8 +36,9 @@ typedef long long int int64_t;
|
||||
#define WEBP_INLINE __forceinline
|
||||
#endif /* _MSC_VER */
|
||||
|
||||
#if defined(WEBP_ENABLE_NODISCARD) || \
|
||||
(defined(__cplusplus) && __cplusplus >= 201700L) || \
|
||||
#ifndef WEBP_NODISCARD
|
||||
#if defined(WEBP_ENABLE_NODISCARD) && WEBP_ENABLE_NODISCARD
|
||||
#if (defined(__cplusplus) && __cplusplus >= 201700L) || \
|
||||
(defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L)
|
||||
#define WEBP_NODISCARD [[nodiscard]]
|
||||
#else
|
||||
@ -47,11 +48,16 @@ typedef long long int int64_t;
|
||||
#define WEBP_NODISCARD __attribute__((warn_unused_result))
|
||||
#else
|
||||
#define WEBP_NODISCARD
|
||||
#endif
|
||||
#endif /* __has_attribute(warn_unused_result) */
|
||||
#else
|
||||
#define WEBP_NODISCARD
|
||||
#endif
|
||||
#endif
|
||||
#endif /* defined(__clang__) && defined(__has_attribute) */
|
||||
#endif /* (defined(__cplusplus) && __cplusplus >= 201700L) ||
|
||||
(defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L) */
|
||||
#else
|
||||
#define WEBP_NODISCARD
|
||||
#endif /* defined(WEBP_ENABLE_NODISCARD) && WEBP_ENABLE_NODISCARD */
|
||||
#endif /* WEBP_NODISCARD */
|
||||
|
||||
#ifndef WEBP_EXTERN
|
||||
// This explicitly marks library functions and allows for changing the
|
||||
|
Reference in New Issue
Block a user