This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 1a57aab23d0e91938fa1e276c9e2a44e6557666e Author: Michael Niedermayer <[email protected]> AuthorDate: Sun Nov 15 22:06:06 2026 +0100 Commit: michaelni <[email protected]> CommitDate: Wed Nov 18 23:19:07 2026 +0000 swscale/loongarch: do not use the yuv2rgb converters for odd widths They convert pairs of pixels and left the last pixel of an odd width row unconverted. --- libswscale/loongarch/swscale_init_loongarch.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libswscale/loongarch/swscale_init_loongarch.c b/libswscale/loongarch/swscale_init_loongarch.c index ced73f2b0f..695ed78871 100644 --- a/libswscale/loongarch/swscale_init_loongarch.c +++ b/libswscale/loongarch/swscale_init_loongarch.c @@ -110,6 +110,11 @@ av_cold void rgb2rgb_init_loongarch(void) av_cold SwsFunc ff_yuv2rgb_init_loongarch(SwsInternal *c) { int cpu_flags = av_get_cpu_flags(); + + /* the converters output pairs of pixels */ + if (c->opts.dst_w & 1) + return NULL; + #if HAVE_LASX if (have_lasx(cpu_flags)) { if (c->opts.src_format == AV_PIX_FMT_YUV420P) { -- To stop receiving notification emails like this one, please contact [email protected]. _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
