]> git.sesse.net Git - x264/commitdiff
Fix compilation of shared library for Windows with original MinGW toolchain
authorAnton Mitrofanov <BugMaster@narod.ru>
Sat, 12 Oct 2013 08:01:57 +0000 (12:01 +0400)
committerFiona Glaser <fiona@x264.com>
Thu, 24 Oct 2013 19:15:57 +0000 (12:15 -0700)
x264dll.c

index cc0d4d39a77c409168c08ee10d6b73e6b81ea6ca..ae4a81ac418c9f9f9f065b3a17b445364de353cc 100644 (file)
--- a/x264dll.c
+++ b/x264dll.c
@@ -27,7 +27,7 @@
 #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 )
 {
 #if PTW32_STATIC_LIB
     switch( fdwReason )