[x264-devel] Fix compilation of shared library for Windows with original MinGW toolchain
Anton Mitrofanov
git at videolan.org
Wed Oct 30 21:18:31 CET 2013
x264 | branch: master | Anton Mitrofanov <BugMaster at narod.ru> | Sat Oct 12 12:01:57 2013 +0400| [44b9b6d480eb91cd56d262088d7a9fa5af02338a] | committer: Jason Garrett-Glaser
Fix compilation of shared library for Windows with original MinGW toolchain
> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=44b9b6d480eb91cd56d262088d7a9fa5af02338a
---
x264dll.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/x264dll.c b/x264dll.c
index cc0d4d3..ae4a81a 100644
--- 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 )
More information about the x264-devel
mailing list