diff options
author | 2003-04-21 21:06:08 +0000 | |
---|---|---|
committer | 2003-04-21 21:06:08 +0000 | |
commit | 597c4bf9259a707196273bd6cfe06bb408fb6843 (patch) | |
tree | d0c3bc73a8c113bbdc6d14c2d8f71519f4b95739 /loader/dmo/dmo.c | |
parent | 6d21e908a0cc9fccdcfa0063af05cd1627dcc9bb (diff) |
cygwin support patch by Sascha Sommer and some fixes by me
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9968 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'loader/dmo/dmo.c')
-rw-r--r-- | loader/dmo/dmo.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/loader/dmo/dmo.c b/loader/dmo/dmo.c index f328a86969..9539678b72 100644 --- a/loader/dmo/dmo.c +++ b/loader/dmo/dmo.c @@ -1,3 +1,4 @@ +#include "config.h" #include "DMO_Filter.h" #include "driver.h" #include "com.h" @@ -19,7 +20,9 @@ void DMO_Filter_Destroy(DMO_Filter* This) This->m_pMedia->vt->Release((IUnknown*)This->m_pMedia); free(This); +#ifdef WIN32_LOADER CodecRelease(); +#endif } DMO_Filter* DMO_FilterCreate(const char* dllname, const GUID* id, @@ -33,7 +36,9 @@ DMO_Filter* DMO_FilterCreate(const char* dllname, const GUID* id, return NULL; memset(This, 0, sizeof(DMO_Filter)); +#ifdef WIN32_LOADER CodecAlloc(); +#endif //This->Start = DS_Filter_Start; //This->Stop = DS_Filter_Stop; |