shithub: openh264

Download patch

ref: 606da1a97d838a22a95f7dec216e2cda2cdfc696
parent: 703bbef12849115b79b730b320fa7cfb2dbe3fa1
parent: 9ec743c1564402517aa1e8cd1889331090a71172
author: ruil2 <ruil2@cisco.com>
date: Fri Nov 14 11:30:17 EST 2014

Merge pull request #1531 from mstorsjo/use-right-type

Use the right data type for a variable

--- a/test/encoder/EncUT_EncoderExt.cpp
+++ b/test/encoder/EncUT_EncoderExt.cpp
@@ -787,7 +787,7 @@
   PrepareOneSrcFrame();
   iResult = pPtrEnc->EncodeFrame (pSrcPic, &sFbi);
 
-  uint32_t length = 0;
+  int length = 0;
   for (int i = 0; i < sFbi.iLayerNum; ++i) {
     for (int j = 0; j < sFbi.sLayerInfo[i].iNalCount; ++j) {
       length += sFbi.sLayerInfo[i].pNalLengthInByte[j];