diff --git a/libs/surfaces/websockets/strips.cc b/libs/surfaces/websockets/strips.cc index e80d8af5d7..e9b81d2b55 100644 --- a/libs/surfaces/websockets/strips.cc +++ b/libs/surfaces/websockets/strips.cc @@ -201,6 +201,9 @@ ArdourStrips::strip_plugin_insert (uint32_t strip_n, uint32_t plugin_n) const { boost::shared_ptr strip = nth_strip (strip_n); boost::shared_ptr route = boost::dynamic_pointer_cast (strip); + if (!route) { + return boost::shared_ptr (); + } boost::shared_ptr processor = route->nth_plugin (plugin_n); if (processor) {