[Mplayer-cvslog] CVS: main/loader/dshow DS_Filter.c,1.15,1.16 DS_VideoDecoder.c,1.22,1.23

Arpi of Ize arpi at mplayerhq.hu
Sun Sep 22 04:33:30 CEST 2002


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

Modified Files:
	DS_Filter.c DS_VideoDecoder.c 
Log Message:
tons of warning fixes, also some 10l bugfixes, including Dominik's PVA bug


Index: DS_Filter.c
===================================================================
RCS file: /cvsroot/mplayer/main/loader/dshow/DS_Filter.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- DS_Filter.c	13 Sep 2002 19:43:15 -0000	1.15
+++ DS_Filter.c	22 Sep 2002 02:33:27 -0000	1.16
@@ -85,7 +85,7 @@
 			   AM_MEDIA_TYPE* out_fmt)
 {
     int init = 0;
-    char eb[250];
+//    char eb[250];
     const char* em = NULL;
     DS_Filter* This = (DS_Filter*) malloc(sizeof(DS_Filter));
     if (!This)
@@ -159,7 +159,7 @@
 
 	enum_pins->vt->Reset(enum_pins);
 	result = enum_pins->vt->Next(enum_pins, (ULONG)256, (IPin**)array, &fetched);
-	Debug printf("Pins enumeration returned %ld pins, error is %x\n", fetched, (int)result);
+	Debug printf("Pins enumeration returned %d pins, error is %x\n", (int)fetched, (int)result);
 
 	for (i = 0; i < fetched; i++)
 	{

Index: DS_VideoDecoder.c
===================================================================
RCS file: /cvsroot/mplayer/main/loader/dshow/DS_VideoDecoder.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- DS_VideoDecoder.c	8 Sep 2002 00:01:06 -0000	1.22
+++ DS_VideoDecoder.c	22 Sep 2002 02:33:27 -0000	1.23
@@ -7,6 +7,7 @@
 
 #include "guids.h"
 #include "interfaces.h"
+#include "registry.h"
 
 #ifndef NOAVIFILE_HEADERS
 #include "videodecoder.h"
@@ -852,7 +853,7 @@
 */
 
 int DS_SetAttr_DivX(char* attribute, int value){
-    int result, status, newkey, count;
+    int result, status, newkey;
         if(strcasecmp(attribute, "Quality")==0){
 	    char* keyname="SOFTWARE\\Microsoft\\Scrunch";
     	    result=RegCreateKeyExA(HKEY_CURRENT_USER, keyname, 0, 0, 0, 0, 0,	   		&newkey, &status);




More information about the MPlayer-cvslog mailing list