fix compile warnings

This commit is contained in:
volvet
2014-04-01 11:37:59 -07:00
parent d8080adb4c
commit 71ab928ca3
2 changed files with 5 additions and 5 deletions

View File

@@ -1013,15 +1013,15 @@ ESceneChangeIdc CWelsPreProcess::DetectSceneChangeScreen (sWelsEncCtx* pCtx, SPi
return LARGE_CHANGED_SCENE;
}
SRefInfoParam sAvailableRefList[MAX_REF_PIC_COUNT] = {0};
SRefInfoParam sAvailableRefList[MAX_REF_PIC_COUNT] = { { 0 } };
int32_t iAvailableRefNum = 0;
int32_t iAvailableSceneRefNum = 0;
int32_t iSceneChangeMethodIdx = METHOD_SCENE_CHANGE_DETECTION_SCREEN;
SSceneChangeResult sSceneChangeResult = {SIMILAR_SCENE, 0, 0, NULL};
SPixMap sSrcMap = {0};
SPixMap sRefMap = {0};
SPixMap sSrcMap = { { 0 } };
SPixMap sRefMap = { { 0 } };
SRefJudgement sLtrJudgement;
SRefJudgement sSceneLtrJudgement;
SRefInfoParam sLtrSaved = {0};
@@ -1030,7 +1030,7 @@ ESceneChangeIdc CWelsPreProcess::DetectSceneChangeScreen (sWelsEncCtx* pCtx, SPi
int32_t iNumOfLargeChange = 0, iNumOfMediumChangeToLtr = 0;
bool bBestRefIsLtr = false, bIsClosestLtrFrame = false;
int32_t ret = 1, iScdIdx = 0, i = 0;
int32_t ret = 1, iScdIdx = 0;
SPicture* pRefPic = NULL;
SRefInfoParam* pRefPicInfo = NULL;