Showing the changes to codec/encoder/core/src/svc_encode_slice.cpp (1 of 3 files). Show all
Unified · Split
| @@ -1477,6 +1477,9 @@ int32_t WelsCodeOneSlice (sWelsEncCtx* pEncCtx, SSlice* pCurSlice, const int32_t · 1476 unmodified lines | ||
| 1477 | 1477 | |
| 1478 | 1478 | WelsSliceHeaderExtInit (pEncCtx, pCurLayer, pCurSlice); |
| 1479 | 1479 | |
| 1480 | + //init slice RC information | |
| 1481 | + RCInitOneSliceInformation(pEncCtx, pCurSlice); | |
| 1482 | + | |
| 1480 | 1483 | g_pWelsWriteSliceHeader[pCurSlice->bSliceHeaderExtFlag] (pEncCtx, pBs, pCurLayer, pCurSlice, |
| 1481 | 1484 | pEncCtx->pFuncList->pParametersetStrategy); |
| 1482 | 1485 | |