shithub: openh264

Download patch

ref: da4062f28eccff3961cfd61288427b4108e081c7
parent: 1c33f2f37dde740d095d3035e7d90b106ba5c933
author: Karina <[email protected]>
date: Mon Sep 25 11:17:57 EDT 2017

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,