[Mplayer-cvslog] CVS: main/loader/dshow DS_AudioDecoder.c,1.11,1.12 DS_VideoDecoder.c,1.23,1.24

Arpi of Ize arpi at mplayerhq.hu
Sat Dec 14 18:56:44 CET 2002


Update of /cvsroot/mplayer/main/loader/dshow
In directory mail:/var/tmp.root/cvs-serv30768/loader/dshow

Modified Files:
	DS_AudioDecoder.c DS_VideoDecoder.c 
Log Message:
compiler warning fixes
based on patch by Dominik Mierzejewski <dominik at rangers.eu.org>


Index: DS_AudioDecoder.c
===================================================================
RCS file: /cvsroot/mplayer/main/loader/dshow/DS_AudioDecoder.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- DS_AudioDecoder.c	26 Nov 2002 21:00:20 -0000	1.11
+++ DS_AudioDecoder.c	14 Dec 2002 17:56:35 -0000	1.12
@@ -24,6 +24,7 @@
 };
 
 #include "DS_AudioDecoder.h"
+#include "../ldt_keeper.h"
 
 #include <string.h>
 #include <stdio.h>

Index: DS_VideoDecoder.c
===================================================================
RCS file: /cvsroot/mplayer/main/loader/dshow/DS_VideoDecoder.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- DS_VideoDecoder.c	22 Sep 2002 02:33:27 -0000	1.23
+++ DS_VideoDecoder.c	14 Dec 2002 17:56:35 -0000	1.24
@@ -35,6 +35,7 @@
 #include "DS_VideoDecoder.h"
 
 #include "../wine/winerror.h"
+#include "../ldt_keeper.h"
 
 #ifndef NOAVIFILE_HEADERS
 #define VFW_E_NOT_RUNNING               0x80040226
@@ -66,7 +67,7 @@
 struct _ct {
 		unsigned int bits;
 		fourcc_t fcc;
-		GUID *subtype;
+		const GUID *subtype;
 		int cap;
 	    };
             
@@ -224,7 +225,7 @@
 		if (!result)
 		{
 		    this->m_Caps = (this->m_Caps | c->cap);
-		    printf("%.4s ", &c->fcc);
+		    printf("%.4s ", (char *)&c->fcc);
 		}
 	    }
 	    printf("\n");




More information about the MPlayer-cvslog mailing list