From f285349933e434b69d5acdda0712762b75ac4a06 Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Sun, 2 Mar 2025 16:26:01 +0800 Subject: [PATCH] Remove unused parameters in VAACalcSad_lsx Make its signature aligned with VAACalcSadFunc to resolve a -Wlto-type-mismatch warning. Signed-off-by: Xi Ruoyao --- codec/processing/src/loongarch/vaa_lsx.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/codec/processing/src/loongarch/vaa_lsx.c b/codec/processing/src/loongarch/vaa_lsx.c index 4ff896a0e8..d4b2c61d40 100644 --- a/codec/processing/src/loongarch/vaa_lsx.c +++ b/codec/processing/src/loongarch/vaa_lsx.c @@ -45,8 +45,7 @@ void VAACalcSad_lsx (const uint8_t* pCurData, const uint8_t* pRefData, int32_t iPicWidth, int32_t iPicHeight, int32_t iPicStride, - int32_t* pFrameSad, int32_t* pSad8x8, int32_t* pSd8x8, - uint8_t* pMad8x8) { + int32_t* pFrameSad, int32_t* pSad8x8) { const uint8_t* tmp_ref = pRefData; const uint8_t* tmp_cur = pCurData; int32_t iMbWidth = (iPicWidth >> 4);