Fix segfault caused by AssExportFilterChain not getting initialized.

Originally committed to SVN as r4628.
This commit is contained in:
Thomas Goyne 2010-06-28 07:12:57 +00:00
parent 894d55d7a2
commit 574a247559

View file

@ -208,6 +208,7 @@ FilterList *AssExportFilterChain::GetUnpreparedFilterList() {
/// @brief Prepare filters
///
void AssExportFilterChain::PrepareFilters() {
if (!instance.get()) instance.reset(new AssExportFilterChain());
for (FilterList::iterator cur=instance->Unprepared.begin();cur!=instance->Unprepared.end();cur++) {
(*cur)->Init();
}