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
35323532 || pOldParam->iPicHeight != pNewParam->iPicHeight) ||
35333533 (pOldParam->SUsedPicRect.iWidth != pNewParam->SUsedPicRect.iWidth
35343534 || pOldParam->SUsedPicRect.iHeight != pNewParam->SUsedPicRect.iHeight) ||
3535− (pOldParam->bEnableLongTermReference != pNewParam->bEnableLongTermReference);
3535+ (pOldParam->bEnableLongTermReference != pNewParam->bEnableLongTermReference) ||
3536+ (pOldParam->iLTRRefNum != pNewParam->iLTRRefNum);
35363537 if (!bNeedReset) { // Check its picture resolutions/quality settings respectively in each dependency layer
35373538 iIndexD = 0;
35383539 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