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 96c5c20e79..88aa19b372 100644 --- a/loader/dshow/inputpin.c +++ b/loader/dshow/inputpin.c @@ -179,7 +179,7 @@ static long STDCALL CInputPin_ConnectionMediaType(IPin* This, *pmt=((CInputPin*)This)->type; if (pmt->cbFormat > 0) { - pmt->pbFormat=(char *)malloc(pmt->cbFormat); + pmt->pbFormat=malloc(pmt->cbFormat); memcpy(pmt->pbFormat, ((CInputPin*)This)->type.pbFormat, pmt->cbFormat); } return 0; |