This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch release/8.0 in repository ffmpeg.
commit 2c41325dbb9f730bf48e2fd25d8fbab10c1258d3 Author: marcos ashton <[email protected]> AuthorDate: Fri Mar 20 23:48:36 2026 +0000 Commit: Michael Niedermayer <[email protected]> CommitDate: Sun May 3 19:56:55 2026 +0200 avutil/bswap: fix implicit conversion warning in av_bswap64 Explicitly cast uint64_t arguments to uint32_t before passing them to av_bswap32(). The truncation is intentional (extracting low and high halves), but clang on macOS 26 warns about it. Fixes: https://code.ffmpeg.org/FFmpeg/FFmpeg/issues/22453 Signed-off-by: marcos ashton <[email protected]> (cherry picked from commit dfa53aae5f950d29b1d298193a7558d5438170d9) Signed-off-by: Michael Niedermayer <[email protected]> --- libavutil/bswap.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavutil/bswap.h b/libavutil/bswap.h index f53e5768ad..c1e6591ce0 100644 --- a/libavutil/bswap.h +++ b/libavutil/bswap.h @@ -68,7 +68,7 @@ static av_always_inline av_const uint32_t av_bswap32(uint32_t x) #ifndef av_bswap64 static inline uint64_t av_const av_bswap64(uint64_t x) { - return (uint64_t)av_bswap32(x) << 32 | av_bswap32(x >> 32); + return (uint64_t)av_bswap32((uint32_t)x) << 32 | av_bswap32((uint32_t)(x >> 32)); } #endif _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
