Fix segfault caused by AssExportFilterChain not getting initialized.
Originally committed to SVN as r4628.
This commit is contained in:
parent
894d55d7a2
commit
574a247559
1 changed files with 1 additions and 0 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue