shithub: openh264

Download patch

ref: 70f93d8816c51298213a1536738764239c04fa90
parent: 3f333b01fdc194d03d5c3902c3a819d53041e7ae
author: Martin Storsjö <[email protected]>
date: Wed Jun 25 05:21:14 EDT 2014

Remove an unused variable

This fixes build warnings when building for OS X with clang.

--- a/codec/encoder/core/src/ref_list_mgr_svc.cpp
+++ b/codec/encoder/core/src/ref_list_mgr_svc.cpp
@@ -357,7 +357,6 @@
   SRefList* pRefList		= pCtx->ppRefPicListExt[pCtx->uiDependencyId];
   SLTRState* pLtr			= &pCtx->pLtr[pCtx->uiDependencyId];
   SSpatialLayerInternal* pParamD	= &pCtx->pSvcParam->sDependencyLayers[pCtx->uiDependencyId];
-  const int32_t kiNumRef	= pCtx->pSvcParam->iNumRefFrame;
 
   int32_t iRefIdx			= 0;
   const uint8_t kuiTid		= pCtx->uiTemporalId;