shithub: openh264

Download patch

ref: 89be330c3e6c4ee79603373a7b29f73199cd87d6
parent: 1c33f2f37dde740d095d3035e7d90b106ba5c933
parent: da4062f28eccff3961cfd61288427b4108e081c7
author: sijchen <sijchen@cisco.com>
date: Mon Sep 25 13:38:53 EDT 2017

Merge pull request #2848 from ruil2/build_error

fix build error when turns on some macro

--- a/codec/encoder/core/src/encoder_ext.cpp
+++ b/codec/encoder/core/src/encoder_ext.cpp
@@ -3925,8 +3925,8 @@
 #if defined(LAYER_INFO_OUTPUT)
     fprintf (stderr, "%2s %5d: %-5d %2s   T%1d D%1d Q%-2d  QP%3d   Y%2.2f  U%2.2f  V%2.2f  %8d bits\n",
              (iSpatialIdx == 0) ? "#AU" : "   ",
-             pCtx->iPOC,
-             pCtx->iFrameNum,
+             pParamInternal->iPOC,
+             pParamInternal->iFrameNum,
              (eFrameType == videoFrameTypeI || eFrameType == videoFrameTypeIDR) ? "I" : "P",
              iCurTid,
              iCurDid,