mirror of https://github.com/odrling/Aegisub
Fix AviSynthWrapper reference counting again
Originally committed to SVN as r34.
This commit is contained in:
parent
7012a6b0b2
commit
732aa4a1ba
|
@ -73,9 +73,9 @@ AviSynthWrapper::AviSynthWrapper() {
|
||||||
int memoryMax = Options.AsInt(_T("Avisynth MemoryMax"));
|
int memoryMax = Options.AsInt(_T("Avisynth MemoryMax"));
|
||||||
if (memoryMax != 0)
|
if (memoryMax != 0)
|
||||||
env->SetMemoryMax(memoryMax);
|
env->SetMemoryMax(memoryMax);
|
||||||
|
|
||||||
avs_refcount++;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
avs_refcount++;
|
||||||
}
|
}
|
||||||
|
|
||||||
///////////////////////
|
///////////////////////
|
||||||
|
|
Loading…
Reference in New Issue