]> git.sesse.net Git - x264/blobdiff - x264dll.c
Only use 10 speedcontrol presets for now.
[x264] / x264dll.c
index 2b6524df9ed83e259c85e1733b229b7a94d7b68e..762bc3b9fa0753934a2cbdac560edbf5ccc74269 100644 (file)
--- a/x264dll.c
+++ b/x264dll.c
@@ -1,7 +1,7 @@
 /*****************************************************************************
  * x264dll: x264 DLLMain for win32
  *****************************************************************************
- * Copyright (C) 2009 x264 project
+ * Copyright (C) 2009-2016 x264 project
  *
  * Authors: Anton Mitrofanov <BugMaster@narod.ru>
  *
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02111, USA.
+ *
+ * This program is also available under a commercial proprietary license.
+ * For more information, contact us at licensing@x264.com.
  *****************************************************************************/
 
 #include "common/common.h"
 #include <windows.h>
 
 /* Callback for our DLL so we can initialize pthread */
-BOOL WINAPI DllMain( HANDLE hinstDLL, DWORD fdwReason, LPVOID lpvReserved )
+BOOL WINAPI DllMain( HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved )
 {
-#ifdef PTW32_STATIC_LIB
+#if PTW32_STATIC_LIB
     switch( fdwReason )
     {
         case DLL_PROCESS_ATTACH: