shithub: openh264

Download patch

ref: 6debb3460cb0fc075aa9a9139b53b5bfa994eca8
parent: f305096f0156f48d90dfa6ca49855a4576f19d3c
author: volvet <qizh@cisco.com>
date: Thu Apr 3 09:38:12 EDT 2014

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