From 81d69cd19d35b6e0dcff09364010b3a652421ded Mon Sep 17 00:00:00 2001 From: Philipp Hancke Date: Sat, 8 Jun 2024 07:35:32 -0700 Subject: [PATCH] Remove unused pSpatialLayer variable in DetermineTemporalSettings which breaks on Mac CI settings due to the variable being unused --- codec/encoder/core/inc/param_svc.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/codec/encoder/core/inc/param_svc.h b/codec/encoder/core/inc/param_svc.h index dff33c490a..92686e7aec 100644 --- a/codec/encoder/core/inc/param_svc.h +++ b/codec/encoder/core/inc/param_svc.h @@ -493,7 +493,6 @@ typedef struct TagWelsSvcCodingParam: SEncParamExt { const int32_t iDecStages = WELS_LOG2 (uiGopSize); // (int8_t)GetLogFactor(1.0f, 1.0f * pcfg->uiGopSize); //log2(uiGopSize) const uint8_t* pTemporalIdList = &g_kuiTemporalIdListTable[iDecStages][0]; SSpatialLayerInternal* pDlp = &sDependencyLayers[0]; - SSpatialLayerConfig* pSpatialLayer = &sSpatialLayers[0]; int8_t i = 0; while (i < iSpatialLayerNum) { @@ -524,7 +523,6 @@ typedef struct TagWelsSvcCodingParam: SEncParamExt { return ENC_RETURN_INVALIDINPUT; } ++ pDlp; - ++ pSpatialLayer; ++ i; } iDecompStages = (int8_t)iDecStages;