From e70799aecdcd17d5c61873b002b892ee94eb9d10 Mon Sep 17 00:00:00 2001 From: alex Date: Tue, 30 Oct 2001 23:04:36 +0000 Subject: fixed some miscoding :) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2581 b3059339-0415-0410-9bf9-f77b7e298cf2 --- loader/dshow/DS_Filter.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'loader/dshow/DS_Filter.c') diff --git a/loader/dshow/DS_Filter.c b/loader/dshow/DS_Filter.c index f625b74b87..7cb46c00eb 100644 --- a/loader/dshow/DS_Filter.c +++ b/loader/dshow/DS_Filter.c @@ -80,14 +80,14 @@ void DS_Filter::Create(const char* dllname, const GUID* id, 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); } -- cgit v1.2.3