Skip to content

Commit

Permalink
Remove unused parameters in VAACalcSad_lsx
Browse files Browse the repository at this point in the history
Make its signature aligned with VAACalcSadFunc to resolve a
-Wlto-type-mismatch warning.

Signed-off-by: Xi Ruoyao <[email protected]>
  • Loading branch information
xry111 committed Mar 2, 2025
1 parent a85e118 commit f285349
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions codec/processing/src/loongarch/vaa_lsx.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit f285349

Please sign in to comment.