diff options
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; |