fix compilation with lv2 < 1.10 (lv2 extended)

This commit is contained in:
Robin Gareus 2016-07-12 13:44:55 +02:00
parent 3c99ab0fb9
commit 1f02dd2a85
2 changed files with 7 additions and 1 deletions

View file

@ -143,7 +143,9 @@ instantiate(const LV2_Descriptor* descriptor,
linear_svf_reset(&aeq->v_filter[i]);
aeq->need_expose = true;
#ifdef LV2_EXTENDED
aeq->display = NULL;
#endif
return (LV2_Handle)aeq;
}