[Mplayer-cvslog] CVS: main/loader/DirectShow DS_Filter.cpp,1.9,1.10

Alex Beregszaszi alex at mplayer.dev.hu
Wed Oct 31 00:04:47 CET 2001


Update of /cvsroot/mplayer/main/loader/DirectShow
In directory mplayer:/var/tmp.root/cvs-serv7379

Modified Files:
	DS_Filter.cpp 
Log Message:
fixed some miscoding :)

Index: DS_Filter.cpp
===================================================================
RCS file: /cvsroot/mplayer/main/loader/DirectShow/DS_Filter.cpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- DS_Filter.cpp	4 Oct 2001 02:21:47 -0000	1.9
+++ DS_Filter.cpp	30 Oct 2001 23:04:36 -0000	1.10
@@ -80,14 +80,14 @@
 	if (!m_iHandle)
 	{
 	    char e[256];
-	    printf("Could not open DirectShow DLL: %.200s", dllname);
+	    snprintf((char *)&e[0], 256, "Could not open DirectShow DLL: %.200s", dllname);
 	    throw FATAL(e);
 	}
         GETCLASS func = (GETCLASS)GetProcAddress(m_iHandle, "DllGetClassObject");
 	if (!func)
 	{
 	    char e[256];
-	    printf("Illegal or corrupt DirectShow DLL: %.200s", dllname);
+	    snprintf((char *)&e[0], 256, "Illegal or corrupt DirectShow DLL: %.200s", dllname);
 	    throw FATAL(e);
 	}
 




More information about the MPlayer-cvslog mailing list