History

fix a miss of assigning and remove an unused line

sijchen committed 10 years ago

Commit 43fdf741 parent 914302a1 file · +1 −2Browse files

Showing the changes to codec/encoder/core/src/encoder_ext.cpp (1 of 1 file). Show all

Unified · Split

codec/encoder/core/src/encoder_ext.cpp+1−2
@@ -2194,8 +2194,6 @@ void FreeMemorySvc (sWelsEncCtx** ppCtx) { · 2193 unmodified lines
21942194 if (NULL != pCtx->ppDqLayerList && pParam != NULL) {
21952195 while (ilayer < pParam->iSpatialLayerNum) {
21962196 SDqLayer* pDq = pCtx->ppDqLayerList[ilayer];
2197− SSpatialLayerConfig* pDlp = &pCtx->pSvcParam->sSpatialLayers[ilayer];
2198−
21992197 // pDq layers
22002198 if (NULL != pDq) {
22012199 FreeDqLayer (pDq, pMa);
@@ -4896,6 +4894,7 @@ int32_t DynSliceRealloc (sWelsEncCtx* pCtx, · 2694 unmodified lines
48964894 if (pCtx->iMaxSliceCount < iMaxSliceNum)
48974895 pCtx->iMaxSliceCount = iMaxSliceNum;
48984896 pCurLayer->sSliceEncCtx.iMaxSliceNumConstraint = iMaxSliceNum;
4897+ pCurLayer->iMaxSliceNum = iMaxSliceNum;
48994898 return ENC_RETURN_SUCCESS;
49004899 }
49014900

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t