mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-03 04:09:29 +01:00
Fix segfault: don't try to use midnam:update extension if host doesn't support it
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
This commit is contained in:
parent
70442ae7e3
commit
d6ed5c2080
1 changed files with 2 additions and 1 deletions
|
|
@ -581,7 +581,8 @@ run (LV2_Handle instance, uint32_t n_samples)
|
|||
inform_ui (self);
|
||||
|
||||
#ifdef LV2_EXTENDED
|
||||
self->midnam->update (self->midnam->handle);
|
||||
if (self->midnam)
|
||||
self->midnam->update (self->midnam->handle);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue