bitch when no CSRI provider was found

Originally committed to SVN as r1014.
This commit is contained in:
David Lamparter 2007-04-06 16:32:46 +00:00
parent f59df9233d
commit 89d62b85f5
1 changed files with 2 additions and 3 deletions

View File

@ -47,9 +47,6 @@
///////////////////
// Link to library
#if __VISUALC__ >= 1200
#pragma comment(lib,"asa.lib")
#endif
/////////////////////////////////////////////////
@ -114,6 +111,8 @@ void CSRISubtitlesProvider::LoadSubtitles(AssFile *subs) {
renderer = csri_renderer_default();
if (renderer)
instance = csri_open_mem(renderer,&data[0],data.size(),NULL);
else
throw _T("No CSRI renderer available. Try installing one or switch to another subtitle provider.");
}