History

Remove an unused variable

This fixes warnings about variables that are set but not used.

Martin Storsjö committed 12 years ago

Commit 322ce391 parent f0240ef1 file · +1 −2Browse files

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

Unified · Split

codec/encoder/core/src/wels_preprocess.cpp+1−2
@@ -969,7 +969,7 @@ ESceneChangeIdc CWelsPreProcess::DetectSceneChangeScreen (sWelsEncCtx* pCtx, SPi · 968 unmodified lines
969969
970970 int32_t iNumOfLargeChange = 0, iNumOfMediumChangeToLtr = 0;
971971
972− bool bBestRefIsLtr = false, bIsClosestLtrFrame = false;
972+ bool bIsClosestLtrFrame = false;
973973 int32_t ret = 1, iScdIdx = 0;
974974
975975 SPicture* pRefPic = NULL;
@@ -1044,7 +1044,6 @@ ESceneChangeIdc CWelsPreProcess::DetectSceneChangeScreen (sWelsEncCtx* pCtx, SPi · 68 unmodified lines
10441044 if (JudgeBestRef (pRefPic, sLtrJudgement, iFrameComplexity, bIsClosestLtrFrame)) {
10451045 SaveBestRefToJudgement (iRefPicAvQP, iFrameComplexity, &sLtrJudgement);
10461046 SaveBestRefToLocal (pRefPicInfo, sSceneChangeResult, &sLtrSaved);
1047− bBestRefIsLtr = bCurRefIsLtr;
10481047 }
10491048 if (bCurRefIsLtr && JudgeBestRef (pRefPic, sSceneLtrJudgement, iFrameComplexity, bIsClosestLtrFrame)) {
10501049 SaveBestRefToJudgement (iRefPicAvQP, iFrameComplexity, &sSceneLtrJudgement);

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