ref: c6c1691799993748a6417d70c7cd0bda635ce554
parent: 43bc9d7c07854fc6d5846dbe89a2d8dac4890bf8
parent: b3d04d88a0bed30b440463fbabee0971879aab50
author: Ethan Hugg <ethanhugg@gmail.com>
date: Fri Mar 14 09:30:58 EDT 2014
Merge pull request #500 from mstorsjo/fix-func-ptr-check Check for the right function pointer
--- a/codec/encoder/core/src/svc_base_layer_md.cpp
+++ b/codec/encoder/core/src/svc_base_layer_md.cpp
@@ -473,7 +473,7 @@
iBestCost = INT_MAX;
iBestMode = kpAvailMode[0];
- if (pFunc->sSampleDealingFuncs.pfIntra4x4Combined3Satd && (iAvailCount >= 6)) {
+ if (pFunc->sSampleDealingFuncs.pfIntra4x4Combined3 && (iAvailCount >= 6)) {
pDst = &pMbCache->pMemPredBlk4[iBestPredBufferNum << 4];
iBestCost = pFunc->sSampleDealingFuncs.pfIntra4x4Combined3 (pCurDec, kiLineSizeDec, pCurEnc, kiLineSizeEnc, pDst,