changeset 25681:355f24f329d4

Get rid of another useless cast
author reimar
date Sun, 13 Jan 2008 10:09:39 +0000
parents 866022c27d67
children 09f31d37d717
files loader/dshow/DS_VideoDecoder.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/loader/dshow/DS_VideoDecoder.c	Sun Jan 13 10:01:27 2008 +0000
+++ b/loader/dshow/DS_VideoDecoder.c	Sun Jan 13 10:09:39 2008 +0000
@@ -135,7 +135,7 @@
         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;