Merge pull request #1837 from mstorsjo/initialize-func-pointers
Set pfMeCost to NULL when it isn't initialized
This commit is contained in:
commit
18b202df0a
@ -2982,6 +2982,8 @@ void PreprocessSliceCoding (sWelsEncCtx* pCtx) {
|
|||||||
pFuncList->pfCalculateSatd = CalculateSatdCost;
|
pFuncList->pfCalculateSatd = CalculateSatdCost;
|
||||||
pFuncList->pfInterFineMd = WelsMdInterFinePartition;
|
pFuncList->pfInterFineMd = WelsMdInterFinePartition;
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
pFuncList->sSampleDealingFuncs.pfMeCost = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
//to init at each frame will be needed when dealing with hybrid content (camera+screen)
|
//to init at each frame will be needed when dealing with hybrid content (camera+screen)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user