shithub: openh264

Download patch

ref: ade7df0ca74233ef7588c36926eedcc25540fb05
parent: fbc179fb823061ea886bff925dec90a2f687a04d
author: Martin Storsjö <martin@martin.st>
date: Mon Apr 21 17:57:28 EDT 2014

Remove an unused local variable

--- a/codec/encoder/plus/src/welsEncoderExt.cpp
+++ b/codec/encoder/plus/src/welsEncoderExt.cpp
@@ -471,8 +471,8 @@
         m_pFileBsSize = NULL;
       }
       char strStreamFileName[128] = {0};
-      int32_t iLen = WelsSnprintf (strStreamFileName, 128, "adj%d_w%d.264", m_iSwitchTimes,
-                                   m_pEncContext->pSvcParam->iPicWidth);
+      WelsSnprintf (strStreamFileName, 128, "adj%d_w%d.264", m_iSwitchTimes,
+                    m_pEncContext->pSvcParam->iPicWidth);
       m_pFileBs = WelsFopen (strStreamFileName, "wb");
       WelsSnprintf (strStreamFileName, 128, "adj%d_w%d_size.iLen", m_iSwitchTimes,
                     m_pEncContext->pSvcParam->iPicWidth);