[FFmpeg-devel] [PATCH] swscale/internal: fix typo in loongarch specific code

Marvin Scholz epirat07 at gmail.com
Sun Nov 24 23:21:34 EET 2024


Regression from 2d077f9acda4946b3455ded5778fb3fc7e85bba2
---
 libswscale/loongarch/swscale_init_loongarch.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libswscale/loongarch/swscale_init_loongarch.c b/libswscale/loongarch/swscale_init_loongarch.c
index 843fa08196..5204a8b66d 100644
--- a/libswscale/loongarch/swscale_init_loongarch.c
+++ b/libswscale/loongarch/swscale_init_loongarch.c
@@ -42,7 +42,7 @@ av_cold void ff_sws_init_range_convert_loongarch(SwsInternal *c)
 #if HAVE_LASX
     if (have_lasx(cpu_flags)) {
         if (c->dstBpc <= 14) {
-            if (c->opts,src_range) {
+            if (c->opts.src_range) {
                 c->lumConvertRange = lumRangeFromJpeg_lasx;
                 c->chrConvertRange = chrRangeFromJpeg_lasx;
             } else {

base-commit: ecb7232bac33ebba47e03663e7e5a3517a8e0a5c
-- 
2.39.5 (Apple Git-154)


More information about the ffmpeg-devel mailing list