Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/LAVFilters.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHendrik Leppkes <h.leppkes@gmail.com>2013-06-08 12:31:36 +0400
committerHendrik Leppkes <h.leppkes@gmail.com>2013-06-08 12:31:36 +0400
commit85c9629985b605d2f863e6b14ca1df3005e24642 (patch)
tree5ecdec695c2173bf338072200375c5fd02ca31c2
parent9925391459ee16a73f8a2a96280a70f4ccf13e4f (diff)
Use proper signature for OpenConfiguration function
-rw-r--r--decoder/LAVAudio/dllmain.cpp4
-rw-r--r--decoder/LAVVideo/dllmain.cpp4
-rw-r--r--demuxer/LAVSplitter/dllmain.cpp4
3 files changed, 3 insertions, 9 deletions
diff --git a/decoder/LAVAudio/dllmain.cpp b/decoder/LAVAudio/dllmain.cpp
index e51fa50a..9b699b36 100644
--- a/decoder/LAVAudio/dllmain.cpp
+++ b/decoder/LAVAudio/dllmain.cpp
@@ -117,7 +117,7 @@ BOOL WINAPI DllMain(HANDLE hDllHandle, DWORD dwReason, LPVOID lpReserved)
return DllEntryPoint(reinterpret_cast<HINSTANCE>(hDllHandle), dwReason, lpReserved);
}
-STDAPI OpenConfiguration()
+void CALLBACK OpenConfiguration(HWND hwnd, HINSTANCE hinst, LPSTR lpszCmdLine, int nCmdShow)
{
HRESULT hr = S_OK;
CUnknown *pInstance = CreateInstance<CLAVAudio>(NULL, &hr);
@@ -128,6 +128,4 @@ STDAPI OpenConfiguration()
CBaseDSPropPage::ShowPropPageDialog(pFilter);
}
delete pInstance;
-
- return 0;
}
diff --git a/decoder/LAVVideo/dllmain.cpp b/decoder/LAVVideo/dllmain.cpp
index 82c0a18e..ea26b646 100644
--- a/decoder/LAVVideo/dllmain.cpp
+++ b/decoder/LAVVideo/dllmain.cpp
@@ -106,7 +106,7 @@ BOOL WINAPI DllMain(HANDLE hDllHandle, DWORD dwReason, LPVOID lpReserved)
return DllEntryPoint(reinterpret_cast<HINSTANCE>(hDllHandle), dwReason, lpReserved);
}
-STDAPI OpenConfiguration()
+void CALLBACK OpenConfiguration(HWND hwnd, HINSTANCE hinst, LPSTR lpszCmdLine, int nCmdShow)
{
HRESULT hr = S_OK;
CUnknown *pInstance = CreateInstance<CLAVVideo>(NULL, &hr);
@@ -117,6 +117,4 @@ STDAPI OpenConfiguration()
CBaseDSPropPage::ShowPropPageDialog(pFilter);
}
delete pInstance;
-
- return 0;
}
diff --git a/demuxer/LAVSplitter/dllmain.cpp b/demuxer/LAVSplitter/dllmain.cpp
index 23ed902a..56e0e71b 100644
--- a/demuxer/LAVSplitter/dllmain.cpp
+++ b/demuxer/LAVSplitter/dllmain.cpp
@@ -164,7 +164,7 @@ BOOL WINAPI DllMain(HANDLE hDllHandle, DWORD dwReason, LPVOID lpReserved)
return DllEntryPoint(reinterpret_cast<HINSTANCE>(hDllHandle), dwReason, lpReserved);
}
-STDAPI OpenConfiguration()
+void CALLBACK OpenConfiguration(HWND hwnd, HINSTANCE hinst, LPSTR lpszCmdLine, int nCmdShow)
{
HRESULT hr = S_OK;
CUnknown *pInstance = CreateInstance<CLAVSplitter>(NULL, &hr);
@@ -175,6 +175,4 @@ STDAPI OpenConfiguration()
CBaseDSPropPage::ShowPropPageDialog(pFilter);
}
delete pInstance;
-
- return 0;
}