shithub: openh264

Download patch

ref: c32263e06b41647bf07995b1f5f9c20e76f8e0b5
parent: 303fbfeb5537186cf22a3308f08e255ba09079a8
parent: a6a504f944decaf7fa35dd71391eb92a8dfe3b6d
author: ruil2 <ruil2@cisco.com>
date: Fri Jan 8 12:15:15 EST 2016

Merge pull request #2322 from HaiboZhu/Fix_Encoder_Info_Output

Fix the build errors when open the encoder info output

--- a/codec/encoder/core/src/encoder_ext.cpp
+++ b/codec/encoder/core/src/encoder_ext.cpp
@@ -4200,7 +4200,7 @@
              (iSpatialIdx == 0) ? "#AU" : "   ",
              pCtx->iPOC,
              pCtx->iFrameNum,
-             (uiFrameType == videoFrameTypeI || uiFrameType == videoFrameTypeIDR) ? "I" : "P",
+             (eFrameType == videoFrameTypeI || eFrameType == videoFrameTypeIDR) ? "I" : "P",
              iCurTid,
              iCurDid,
              0,
@@ -4916,7 +4916,7 @@
              "@slice=%-6d sliceType:%c idc:%d size:%-6d\n",
              iSliceIdx,
              (pCtx->eSliceType == P_SLICE ? 'P' : 'I'),
-             eNalRefIdc,
+             keNalRefIdc,
              iSliceSize);
 #endif//SLICE_INFO_OUTPUT