diff options
author | 2008-01-13 10:09:39 +0000 | |
---|---|---|
committer | 2008-01-13 10:09:39 +0000 | |
commit | a20fa53d69ae9b63880d0ef2974da4018ef147cd (patch) | |
tree | 376fe768c5732fe97445de2220e58c170937ae44 /loader/dshow/DS_VideoDecoder.c | |
parent | e356da9b2fac2474a67f1b9bbda8d9fad72b8d9b (diff) |
Get rid of another useless cast
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25709 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'loader/dshow/DS_VideoDecoder.c')
-rw-r--r-- | loader/dshow/DS_VideoDecoder.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/loader/dshow/DS_VideoDecoder.c b/loader/dshow/DS_VideoDecoder.c index 01b342a267..60170e6385 100644 --- a/loader/dshow/DS_VideoDecoder.c +++ b/loader/dshow/DS_VideoDecoder.c @@ -135,7 +135,7 @@ DS_VideoDecoder * DS_VideoDecoder_Open(char* dllname, GUID* guid, BITMAPINFOHEAD this->m_sOurType.cbFormat = bihs; this->m_sOurType.pbFormat = (char*)this->m_sVhdr; - this->m_sVhdr2 = (VIDEOINFOHEADER*)(malloc(sizeof(VIDEOINFOHEADER)+12)); + this->m_sVhdr2 = malloc(sizeof(VIDEOINFOHEADER)+12); memcpy(this->m_sVhdr2, this->m_sVhdr, sizeof(VIDEOINFOHEADER)); memset((char*)this->m_sVhdr2 + sizeof(VIDEOINFOHEADER), 0, 12); this->m_sVhdr2->bmiHeader.biCompression = 0; |