aboutsummaryrefslogtreecommitdiffhomepage
path: root/loader/dshow
diff options
context:
space:
mode:
authorGravatar alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-10-30 23:04:36 +0000
committerGravatar alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-10-30 23:04:36 +0000
commite70799aecdcd17d5c61873b002b892ee94eb9d10 (patch)
tree2361fd07a6337a94bd1a24293ec37d15fec67306 /loader/dshow
parentb626c5d5ce0c4eb3fe41678fd2667cbd40e5d205 (diff)
fixed some miscoding :)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2581 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'loader/dshow')
-rw-r--r--loader/dshow/DS_Filter.c4
1 files changed, 2 insertions, 2 deletions
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);
}