Skip to content

Commit

Permalink
Remove unused pSpatialLayer variable in DetermineTemporalSettings
Browse files Browse the repository at this point in the history
which breaks on Mac CI settings due to the variable being unused
  • Loading branch information
fippo committed Jun 8, 2024
1 parent 1c23887 commit 81d69cd
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions codec/encoder/core/inc/param_svc.h
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -524,7 +523,6 @@ typedef struct TagWelsSvcCodingParam: SEncParamExt {
return ENC_RETURN_INVALIDINPUT;
}
++ pDlp;
++ pSpatialLayer;
++ i;
}
iDecompStages = (int8_t)iDecStages;
Expand Down

0 comments on commit 81d69cd

Please sign in to comment.