Merge pull request #631 from volvet/fix_pic_partition

fix pic partition bug
This commit is contained in:
sijchen 2014-04-04 08:57:46 +08:00
commit 4e52887eec

View File

@ -2135,8 +2135,6 @@ int32_t PicPartitionNumDecision (sWelsEncCtx* pCtx) {
int32_t iPartitionNum = 1;
if (pCtx->pSvcParam->iMultipleThreadIdc > 1) {
iPartitionNum = pCtx->pSvcParam->iCountThreadsNum;
if (P_SLICE == pCtx->eSliceType)
iPartitionNum = 1;
}
return iPartitionNum;
}