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 d19470e7206576cf3f4debcc8bffa875e4b11c70 Author: Michael Niedermayer <[email protected]> AuthorDate: Tue May 19 16:32:17 2026 +0200 Commit: Michael Niedermayer <[email protected]> CommitDate: Sun Jun 14 04:59:09 2026 +0200 swscale/rgb2rgb_template: use unsigned for <<24 Found-by: jiale yao Signed-off-by: Michael Niedermayer <[email protected]> (cherry picked from commit dbe78ffdb820e1e179298fd4752c735d1c833da5) Signed-off-by: Michael Niedermayer <[email protected]> --- libswscale/rgb2rgb_template.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libswscale/rgb2rgb_template.c b/libswscale/rgb2rgb_template.c index 7d4a605043..ceaa1adec8 100644 --- a/libswscale/rgb2rgb_template.c +++ b/libswscale/rgb2rgb_template.c @@ -406,11 +406,11 @@ static inline void yuvPlanartoyuy2_c(const uint8_t *ysrc, const uint8_t *usrc, for (i = 0; i < chromWidth; i++) { #if HAVE_BIGENDIAN - *idst++ = (yc[0] << 24) + (uc[0] << 16) + + *idst++ = ((unsigned)yc[0] << 24) + (uc[0] << 16) + (yc[1] << 8) + (vc[0] << 0); #else *idst++ = yc[0] + (uc[0] << 8) + - (yc[1] << 16) + (vc[0] << 24); + (yc[1] << 16) + ((unsigned)vc[0] << 24); #endif yc += 2; uc++; _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
