This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch release/4.4 in repository ffmpeg.
commit 35ba3f4d97d1976a05e785375843ec25c2c0a706 Author: marcos ashton <[email protected]> AuthorDate: Fri Mar 20 23:48:36 2026 +0000 Commit: Michael Niedermayer <[email protected]> CommitDate: Tue May 5 18:55:09 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 91cb79538d..6254af7803 100644 --- a/libavutil/bswap.h +++ b/libavutil/bswap.h @@ -72,7 +72,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]
