1
mirror of https://github.com/mpv-player/mpv synced 2024-11-03 03:19:24 +01:00

fixed some miscoding :)

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2581 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
alex 2001-10-30 23:04:36 +00:00
parent b626c5d5ce
commit e70799aecd

View File

@ -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);
}