Commit b0519c56 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Dshow: fix typo

parent 0bbd5859
......@@ -2015,7 +2015,7 @@ static int FindDevices( vlc_object_t *p_this, const char *psz_name,
{
/* Find list of devices */
list<string> list_devices;
if( SUCCEEDED(CoInitializeEx( NULL, COINIT_MULTITTHREADED ))
if( SUCCEEDED(CoInitializeEx( NULL, COINIT_MULTITHREADED ))
|| SUCCEEDED(CoInitializeEx( NULL, COINIT_APARTMENTTHREADED )) )
{
bool b_audio = !strcmp( psz_name, CFG_PREFIX "adev" );
......@@ -2056,7 +2056,7 @@ static int ConfigDevicesCallback( vlc_object_t *p_this, char const *psz_name,
char *psz_device = NULL;
int i_ret = VLC_SUCCESS;
if( FAILED(CoInitializeEx( NULL, COINIT_MULTITTHREADED ))
if( FAILED(CoInitializeEx( NULL, COINIT_MULTITHREADED ))
&& FAILED(CoInitializeEx( NULL, COINIT_APARTMENTTHREADED )) )
return VLC_EGENERIC;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment