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
969 969
970 int32_t iNumOfLargeChange = 0, iNumOfMediumChangeToLtr = 0;970 int32_t iNumOfLargeChange = 0, iNumOfMediumChangeToLtr = 0;
971 971
972 bool bBestRefIsLtr = false, bIsClosestLtrFrame = false;972 bool bIsClosestLtrFrame = false;
973 int32_t ret = 1, iScdIdx = 0;973 int32_t ret = 1, iScdIdx = 0;
974 974
975 SPicture* pRefPic = NULL;975 SPicture* pRefPic = NULL;
@@ -1044,7 +1044,6 @@ ESceneChangeIdc CWelsPreProcess::DetectSceneChangeScreen (sWelsEncCtx* pCtx, SPi · 68 unmodified lines
1044 if (JudgeBestRef (pRefPic, sLtrJudgement, iFrameComplexity, bIsClosestLtrFrame)) {1044 if (JudgeBestRef (pRefPic, sLtrJudgement, iFrameComplexity, bIsClosestLtrFrame)) {
1045 SaveBestRefToJudgement (iRefPicAvQP, iFrameComplexity, &sLtrJudgement);1045 SaveBestRefToJudgement (iRefPicAvQP, iFrameComplexity, &sLtrJudgement);
1046 SaveBestRefToLocal (pRefPicInfo, sSceneChangeResult, &sLtrSaved);1046 SaveBestRefToLocal (pRefPicInfo, sSceneChangeResult, &sLtrSaved);
1047 bBestRefIsLtr = bCurRefIsLtr;
1048 }1047 }
1049 if (bCurRefIsLtr && JudgeBestRef (pRefPic, sSceneLtrJudgement, iFrameComplexity, bIsClosestLtrFrame)) {1048 if (bCurRefIsLtr && JudgeBestRef (pRefPic, sSceneLtrJudgement, iFrameComplexity, bIsClosestLtrFrame)) {
1050 SaveBestRefToJudgement (iRefPicAvQP, iFrameComplexity, &sSceneLtrJudgement);1049 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