Showing the changes to codec/encoder/core/src/svc_encode_slice.cpp (1 of 26 files). Show all
Unified · Split
| @@ -715,9 +715,9 @@ int32_t WelsCodeOneSlice (sWelsEncCtx* pEncCtx, const int32_t kiSliceIdx, const · 714 unmodified lines | ||
| 715 | 715 | SNalUnitHeaderExt* pNalHeadExt = &pCurLayer->sLayerInfo.sNalHeaderExt; |
| 716 | 716 | SSlice* pCurSlice = &pCurLayer->sLayerInfo.pSliceInLayer[kiSliceIdx]; |
| 717 | 717 | SBitStringAux* pBs = pCurSlice->pSliceBsa; |
| 718 | − const int32_t kiDynamicSliceFlag = (pEncCtx->pSvcParam->sSpatialLayers[pEncCtx->uiDependencyId].sSliceCfg.uiSliceMode | |
| 718 | + const int32_t kiDynamicSliceFlag = (pEncCtx->pSvcParam->sSpatialLayers[pEncCtx->uiDependencyId].sSliceArgument.uiSliceMode | |
| 719 | 719 | == |
| 720 | − SM_DYN_SLICE); | |
| 720 | + SM_SIZELIMITED_SLICE); | |
| 721 | 721 | |
| 722 | 722 | assert (kiSliceIdx == (int) pCurSlice->uiSliceIdx); |
| 723 | 723 | |