diff options
author | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-04-21 20:12:43 +0000 |
---|---|---|
committer | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-04-21 20:12:43 +0000 |
commit | 11df85a3dd3bf9f0db534e1d22d55a38996cdd50 (patch) | |
tree | f17ad8368810fb597dd3f30ff54215fce03f2ae6 /loader/dshow/inputpin.c | |
parent | 9f6cd22e445429d6ea67b1d936f6d00256b9abf2 (diff) | |
download | mpv-11df85a3dd3bf9f0db534e1d22d55a38996cdd50.tar.bz2 mpv-11df85a3dd3bf9f0db534e1d22d55a38996cdd50.tar.xz |
CoTaskMemAlloc/Free vs malloc/free cleanup
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9965 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'loader/dshow/inputpin.c')
-rw-r--r-- | loader/dshow/inputpin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/loader/dshow/inputpin.c b/loader/dshow/inputpin.c index 5fcc039e1c..8b6a1e8693 100644 --- a/loader/dshow/inputpin.c +++ b/loader/dshow/inputpin.c @@ -173,7 +173,7 @@ static long STDCALL CInputPin_ConnectionMediaType(IPin* This, *pmt=((CInputPin*)This)->type; if (pmt->cbFormat > 0) { - pmt->pbFormat=(char *)CoTaskMemAlloc(pmt->cbFormat); + pmt->pbFormat=(char *)malloc(pmt->cbFormat); memcpy(pmt->pbFormat, ((CInputPin*)This)->type.pbFormat, pmt->cbFormat); } return 0; |