shithub: openh264

Download patch

ref: 7411469e1d1abb8d6ad1eeda136a9ca08d51cda8
parent: ef5f1c46b97b7cbe7d6d533467e900f5ae72e4fe
author: Martin Storsjö <[email protected]>
date: Fri Dec 19 06:06:51 EST 2014

Avoid a warning about an unused static variable

--- a/codec/encoder/plus/src/welsEncoderExt.cpp
+++ b/codec/encoder/plus/src/welsEncoderExt.cpp
@@ -1261,6 +1261,7 @@
 }
 
 OpenH264Version WelsGetCodecVersion () {
+  (void) g_strCodecVer; // Avoid warnings about unused static variables
   return g_stCodecVersion;
 }
 //////////////////////////////////////////////////////////////////////////////////////////////////////////////////