History

fix SetOption scc ltr_ref_num casued memory leak issue.

lyao2 committed 12 years ago

Commit 79ef0e11 parent 49262791 file · +2 −1Browse 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+2−1
@@ -3532,7 +3532,8 @@ int32_t WelsEncoderParamAdjust (sWelsEncCtx** ppCtx, SWelsSvcCodingParam* pNewPa · 3531 unmodified lines
3532 || pOldParam->iPicHeight != pNewParam->iPicHeight) ||3532 || pOldParam->iPicHeight != pNewParam->iPicHeight) ||
3533 (pOldParam->SUsedPicRect.iWidth != pNewParam->SUsedPicRect.iWidth3533 (pOldParam->SUsedPicRect.iWidth != pNewParam->SUsedPicRect.iWidth
3534 || pOldParam->SUsedPicRect.iHeight != pNewParam->SUsedPicRect.iHeight) ||3534 || pOldParam->SUsedPicRect.iHeight != pNewParam->SUsedPicRect.iHeight) ||
3535 (pOldParam->bEnableLongTermReference != pNewParam->bEnableLongTermReference);3535 (pOldParam->bEnableLongTermReference != pNewParam->bEnableLongTermReference) ||
3536 (pOldParam->iLTRRefNum != pNewParam->iLTRRefNum);
3536 if (!bNeedReset) { // Check its picture resolutions/quality settings respectively in each dependency layer3537 if (!bNeedReset) { // Check its picture resolutions/quality settings respectively in each dependency layer
3537 iIndexD = 0;3538 iIndexD = 0;
3538 assert (pOldParam->iSpatialLayerNum == pNewParam->iSpatialLayerNum);3539 assert (pOldParam->iSpatialLayerNum == pNewParam->iSpatialLayerNum);

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