Mercurial > mplayer.hg
diff loader/dmo/dmo.c @ 9967:b0d1b415320c
cygwin support patch by Sascha Sommer and some fixes by me
author | alex |
---|---|
date | Mon, 21 Apr 2003 21:06:08 +0000 |
parents | 8e00b6a9e40b |
children | f5537cc95b02 |
line wrap: on
line diff
--- a/loader/dmo/dmo.c Mon Apr 21 21:04:59 2003 +0000 +++ b/loader/dmo/dmo.c Mon Apr 21 21:06:08 2003 +0000 @@ -1,3 +1,4 @@ +#include "config.h" #include "DMO_Filter.h" #include "driver.h" #include "com.h" @@ -19,7 +20,9 @@ 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 @@ return NULL; memset(This, 0, sizeof(DMO_Filter)); +#ifdef WIN32_LOADER CodecAlloc(); +#endif //This->Start = DS_Filter_Start; //This->Stop = DS_Filter_Stop;