[FFmpeg-cvslog] r12363 - in trunk: libavcodec/w32thread.c libavformat/os_support.h
ramiro
subversion
Fri Mar 7 20:47:45 CET 2008
Author: ramiro
Date: Fri Mar 7 20:47:44 2008
New Revision: 12363
Log:
__stdcall -> WINAPI
Windows x64 has no __stdcall.
It is not yet supported, but someday it might...
Modified:
trunk/libavcodec/w32thread.c
trunk/libavformat/os_support.h
Modified: trunk/libavcodec/w32thread.c
==============================================================================
--- trunk/libavcodec/w32thread.c (original)
+++ trunk/libavcodec/w32thread.c Fri Mar 7 20:47:44 2008
@@ -36,7 +36,7 @@ typedef struct ThreadContext{
}ThreadContext;
-static unsigned __stdcall attribute_align_arg thread_func(void *v){
+static unsigned WINAPI attribute_align_arg thread_func(void *v){
ThreadContext *c= v;
for(;;){
Modified: trunk/libavformat/os_support.h
==============================================================================
--- trunk/libavformat/os_support.h (original)
+++ trunk/libavformat/os_support.h Fri Mar 7 20:47:44 2008
@@ -32,7 +32,7 @@ typedef int socklen_t;
#endif
#ifdef __MINGW32__
-__declspec(dllimport) void __stdcall Sleep(unsigned long dwMilliseconds);
+__declspec(dllimport) void WINAPI Sleep(unsigned long dwMilliseconds);
// # include <windows.h>
# define usleep(t) Sleep((t) / 1000)
# include <fcntl.h>
More information about the ffmpeg-cvslog
mailing list