shithub: openh264

Download patch

ref: 110ce9ceca9ec885ac63f4be12fbfc0087536c16
parent: 3a375869703696df8d0e16d709c6d4a56b2cfd2d
author: Martin Storsjö <[email protected]>
date: Mon Jul 14 11:44:26 EDT 2014

Remove an unused variable

This fixes build warnings with clang on OS X.

--- a/codec/encoder/core/src/ratectl.cpp
+++ b/codec/encoder/core/src/ratectl.cpp
@@ -1001,7 +1001,6 @@
 
 void WelRcPictureInitBufferBasedQp (void* pCtx) {
   sWelsEncCtx* pEncCtx = (sWelsEncCtx*)pCtx;
-  SWelsSvcRc* pWelsSvcRc = &pEncCtx->pWelsSvcRc[pEncCtx->uiDependencyId];
   SVAAFrameInfo* pVaa			= static_cast<SVAAFrameInfo*> (pEncCtx->pVaa);
 
   int32_t iMinQp = MIN_SCREEN_QP;