This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit dbe78ffdb820e1e179298fd4752c735d1c833da5 Author: Michael Niedermayer <[email protected]> AuthorDate: Tue May 19 16:32:17 2026 +0200 Commit: michaelni <[email protected]> CommitDate: Fri Jun 5 01:14:02 2026 +0000 swscale/rgb2rgb_template: use unsigned for <<24 Found-by: jiale yao 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 48959b6b5f..1f0aef1fb9 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]
