fix pic partition bug

This commit is contained in:
volvet 2014-04-03 13:38:12 -07:00
parent f305096f01
commit 6debb3460c

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;
}