shithub: openh264

Download patch

ref: a6a504f944decaf7fa35dd71391eb92a8dfe3b6d
parent: 539818101f38563196f7be1ba6b153e6b33e3f52
author: Haibo Zhu <haibozhu@cisco.com>
date: Thu Dec 31 04:06:59 EST 2015

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
@@ -4189,7 +4189,7 @@
              (iSpatialIdx == 0) ? "#AU" : "   ",
              pCtx->iPOC,
              pCtx->iFrameNum,
-             (uiFrameType == videoFrameTypeI || uiFrameType == videoFrameTypeIDR) ? "I" : "P",
+             (eFrameType == videoFrameTypeI || eFrameType == videoFrameTypeIDR) ? "I" : "P",
              iCurTid,
              iCurDid,
              0,
@@ -4898,7 +4898,7 @@
              "@slice=%-6d sliceType:%c idc:%d size:%-6d\n",
              iSliceIdx,
              (pCtx->eSliceType == P_SLICE ? 'P' : 'I'),
-             eNalRefIdc,
+             keNalRefIdc,
              iSliceSize);
 #endif//SLICE_INFO_OUTPUT