shithub: openh264

Download patch

ref: 5c5dcfb14cc94a1861b5c033700dacb056e58204
parent: 8a0bc0a8b9c729dd7d7ff1f2b34f02922194bb5f
author: Martin Storsjö <martin@martin.st>
date: Tue Jan 28 05:54:11 EST 2014

Remove an unused global variable and commented out code

--- a/codec/encoder/plus/src/DllEntry.cpp
+++ b/codec/encoder/plus/src/DllEntry.cpp
@@ -34,16 +34,10 @@
 
 /////////////////////////////////////////////////////////////////////////////
 // DLL Entry Point
-HANDLE g_hInstDll;
 
 BOOL WINAPI DllEntryPoint (HINSTANCE hInstance, DWORD dwReason, LPVOID lpReserved) {
-  g_hInstDll = hInstance;
   if (DLL_PROCESS_ATTACH == dwReason) {
     DisableThreadLibraryCalls (hInstance);
   }
-//	else if (DLL_PROCESS_DETACH == dwReason)
-//	{
-//
-//	}
   return TRUE;
-}
\ No newline at end of file
+}