shithub: openh264

Download patch

ref: 4e52887eec489e50e3f9b8195c241a7d0a958c83
parent: f305096f0156f48d90dfa6ca49855a4576f19d3c
parent: 6debb3460cb0fc075aa9a9139b53b5bfa994eca8
author: sijchen <sijchen@cisco.com>
date: Fri Apr 4 04:57:46 EDT 2014

Merge pull request #631 from volvet/fix_pic_partition

fix pic partition bug

--- a/codec/encoder/core/src/encoder_ext.cpp
+++ b/codec/encoder/core/src/encoder_ext.cpp
@@ -2135,8 +2135,6 @@
   int32_t iPartitionNum	= 1;
   if (pCtx->pSvcParam->iMultipleThreadIdc > 1) {
     iPartitionNum	= pCtx->pSvcParam->iCountThreadsNum;
-    if (P_SLICE == pCtx->eSliceType)
-      iPartitionNum	= 1;
   }
   return iPartitionNum;
 }