[FFmpeg-cvslog] swscale/internal: fix typo in loongarch specific code
Marvin Scholz
git at videolan.org
Mon Nov 25 18:19:36 EET 2024
ffmpeg | branch: master | Marvin Scholz <epirat07 at gmail.com> | Sun Nov 24 22:21:34 2024 +0100| [6b9f4f36f740b77d83d7ea1bdf0369b99a3abd6d] | committer: Marvin Scholz
swscale/internal: fix typo in loongarch specific code
Regression from 2d077f9acda4946b3455ded5778fb3fc7e85bba2
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6b9f4f36f740b77d83d7ea1bdf0369b99a3abd6d
---
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 {
More information about the ffmpeg-cvslog
mailing list