Code:
[for every frame]
{
VideoFrame *frame = it->second;
if (frame->vfb->refcount == 0)
delete frame->vfb;
delete frame;
}
why "if (frame->vfb->refcount == 0)" ??
vfb->refcount decremented in VideoFrame destructor so it can be (and it IS) >0
and ~VideoFrame doesn't delete vfb but just releases it
=====
Fixed it, see
https://github.com/AviSynth/AviSynthPlus/issues/49
Is there any chance to include this fix to the main branch and release a new official build?