OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a332158
)
Windows MinGW環境ビルドエラー対応(Windows7 Mingw32 gcc4.5.2)
master
author
OWATA orz
<orz-@users.sourceforge.jp>
Mon, 12 Sep 2011 15:37:58 +0000
(
00:37
+0900)
committer
yukihane
<yukihane.feather@gmail.com>
Mon, 12 Sep 2011 15:40:50 +0000
(
00:40
+0900)
(cherry picked from commit
8c1051b3b0d571aa78592de58197aa8fb8f3fc2c
)
libavfilter/vf_vhext.c
patch
|
blob
|
history
diff --git
a/libavfilter/vf_vhext.c
b/libavfilter/vf_vhext.c
index
66a1f88
..
c38c8da
100644
(file)
--- a/
libavfilter/vf_vhext.c
+++ b/
libavfilter/vf_vhext.c
@@
-15,13
+15,16
@@
#include <stdio.h>
#include <ctype.h>
-#if
def
HAVE_DLFCN_H
+#if HAVE_DLFCN_H
#include <dlfcn.h>
#else
//dlfcn.hの無いWindows Mingw環境用
-#define dlopen(a) ((void*)LoadLibrary(a))
+#include <windows.h>
+#define dlopen(a,b) ((void*)LoadLibrary(a))
#define dlsym(a,b) ((void*)GetProcAddress((HMODULE)(a),(b)))
#define dlclose(a) FreeLibrary((HMODULE)(a));
+#define dlerror() "dlerror()"
+#define RTLD_NOW 0
#endif
//デリミタ。MEncoder側とは同じにしといた方がよさそう。