mirror of
https://github.com/mpv-player/mpv
synced 2024-12-20 05:42:19 +00:00
fixed some miscoding :)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2581 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
b626c5d5ce
commit
e70799aecd
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user