mirror of https://github.com/odrling/Aegisub
Another missing ifdef in ffmsindex
Originally committed to SVN as r2988.
This commit is contained in:
parent
9cb8cb25cf
commit
200b3393f9
|
@ -202,7 +202,7 @@ int main(int argc, char *argv[]) {
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
if (!SUCCEEDED(CoInitializeEx(NULL, COINIT_MULTITHREADED))) {
|
if (FAILED(CoInitializeEx(NULL, COINIT_MULTITHREADED))) {
|
||||||
std::cout << "COM initialization failure" << std::endl;
|
std::cout << "COM initialization failure" << std::endl;
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
@ -230,6 +230,8 @@ int main(int argc, char *argv[]) {
|
||||||
}
|
}
|
||||||
|
|
||||||
FFMS_DestroyFFIndex(Index);
|
FFMS_DestroyFFIndex(Index);
|
||||||
|
#ifdef _WIN32
|
||||||
CoUninitialize();
|
CoUninitialize();
|
||||||
|
#endif
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue