protected override void Dispose(bool disposing) { if (ctx == null) { return; } FF.swr_free(ref ctx); }