shithub: openh264

Download patch

ref: 57016558ab1f5a73e26aac735900436b476000b7
parent: 7e113c189a19d6d0c760a58cf30f2b2dba2689d4
author: Huade Shi (huashi) <[email protected]>
date: Sun Mar 26 19:45:49 EDT 2017

Multi-thread-fixed:RBC#1723:fixed travis error

--- a/codec/encoder/core/src/svc_enc_slice_segment.cpp
+++ b/codec/encoder/core/src/svc_enc_slice_segment.cpp
@@ -125,7 +125,7 @@
 bool CheckFixedSliceNumMultiSliceSetting (const int32_t kiMbNumInFrame, SSliceArgument* pSliceArg) {
   int32_t* pSlicesAssignList    = (int32_t*) & (pSliceArg->uiSliceMbNum[0]);
   const uint32_t kuiSliceNum    = pSliceArg->uiSliceNum;
-  int32_t uiSliceIdx            = 0;
+  uint32_t uiSliceIdx           = 0;
   const int32_t kiMbNumPerSlice = kiMbNumInFrame / kuiSliceNum;
   int32_t iNumMbLeft            = kiMbNumInFrame;