mirror of https://github.com/odrling/Aegisub
Fix segfault caused by AssExportFilterChain not getting initialized.
Originally committed to SVN as r4628.
This commit is contained in:
parent
894d55d7a2
commit
574a247559
|
@ -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 New Issue