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
2194 if (NULL != pCtx->ppDqLayerList && pParam != NULL) {2194 if (NULL != pCtx->ppDqLayerList && pParam != NULL) {
2195 while (ilayer < pParam->iSpatialLayerNum) {2195 while (ilayer < pParam->iSpatialLayerNum) {
2196 SDqLayer* pDq = pCtx->ppDqLayerList[ilayer];2196 SDqLayer* pDq = pCtx->ppDqLayerList[ilayer];
2197 SSpatialLayerConfig* pDlp = &pCtx->pSvcParam->sSpatialLayers[ilayer];
2198
2199 // pDq layers2197 // pDq layers
2200 if (NULL != pDq) {2198 if (NULL != pDq) {
2201 FreeDqLayer (pDq, pMa);2199 FreeDqLayer (pDq, pMa);
@@ -4896,6 +4894,7 @@ int32_t DynSliceRealloc (sWelsEncCtx* pCtx, · 2694 unmodified lines
4896 if (pCtx->iMaxSliceCount < iMaxSliceNum)4894 if (pCtx->iMaxSliceCount < iMaxSliceNum)
4897 pCtx->iMaxSliceCount = iMaxSliceNum;4895 pCtx->iMaxSliceCount = iMaxSliceNum;
4898 pCurLayer->sSliceEncCtx.iMaxSliceNumConstraint = iMaxSliceNum;4896 pCurLayer->sSliceEncCtx.iMaxSliceNumConstraint = iMaxSliceNum;
4897 pCurLayer->iMaxSliceNum = iMaxSliceNum;
4899 return ENC_RETURN_SUCCESS;4898 return ENC_RETURN_SUCCESS;
4900}4899}
4901 4900

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