diff options
author | Ramiro Polla <ramiro.polla@gmail.com> | 2008-03-07 19:47:44 +0000 |
---|---|---|
committer | Ramiro Polla <ramiro.polla@gmail.com> | 2008-03-07 19:47:44 +0000 |
commit | 5dea940937caacc3baf974b134a961601834e802 (patch) | |
tree | 8e7f82d10fd059048753ca9ed2342ecb22552574 | |
parent | 0e32c8c65a1c42d9f6489eca2231dde17716d139 (diff) | |
download | ffmpeg-streaming-5dea940937caacc3baf974b134a961601834e802.zip ffmpeg-streaming-5dea940937caacc3baf974b134a961601834e802.tar.gz |
__stdcall -> WINAPI
Windows x64 has no __stdcall.
It is not yet supported, but someday it might...
Originally committed as revision 12363 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/w32thread.c | 2 | ||||
-rw-r--r-- | libavformat/os_support.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/w32thread.c b/libavcodec/w32thread.c index fbc0a58..5758c69 100644 --- a/libavcodec/w32thread.c +++ b/libavcodec/w32thread.c @@ -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(;;){ diff --git a/libavformat/os_support.h b/libavformat/os_support.h index 67d586a..26141fe 100644 --- a/libavformat/os_support.h +++ b/libavformat/os_support.h @@ -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> |