[MPlayer-cvslog] r25709 - trunk/loader/dshow/DS_VideoDecoder.c

reimar subversion at mplayerhq.hu
Sun Jan 13 11:09:39 CET 2008


Author: reimar
Date: Sun Jan 13 11:09:39 2008
New Revision: 25709

Log:
Get rid of another useless cast


Modified:
   trunk/loader/dshow/DS_VideoDecoder.c

Modified: trunk/loader/dshow/DS_VideoDecoder.c
==============================================================================
--- trunk/loader/dshow/DS_VideoDecoder.c	(original)
+++ trunk/loader/dshow/DS_VideoDecoder.c	Sun Jan 13 11:09:39 2008
@@ -135,7 +135,7 @@ DS_VideoDecoder * DS_VideoDecoder_Open(c
         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;



More information about the MPlayer-cvslog mailing list