diff options
author | David Robillard <d@drobilla.net> | 2012-04-06 03:33:37 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-04-06 03:33:37 +0000 |
commit | faa04e26eb42fde8f853d072848f89c927f2a363 (patch) | |
tree | 09a1b2883abdbd2098de5bf685551f4bc6c99642 /lv2/lv2plug.in/ns/ext/event | |
parent | 6035204c2fa3aa5711dbcdda7735db8c33f55542 (diff) | |
download | lv2-faa04e26eb42fde8f853d072848f89c927f2a363.tar.xz |
Fix bug in lv2_event_reserve().
Diffstat (limited to 'lv2/lv2plug.in/ns/ext/event')
-rw-r--r-- | lv2/lv2plug.in/ns/ext/event/event-helpers.h | 9 | ||||
-rw-r--r-- | lv2/lv2plug.in/ns/ext/event/event.ttl | 9 |
2 files changed, 13 insertions, 5 deletions
diff --git a/lv2/lv2plug.in/ns/ext/event/event-helpers.h b/lv2/lv2plug.in/ns/ext/event/event-helpers.h index 9a8fee8..46d634d 100644 --- a/lv2/lv2plug.in/ns/ext/event/event-helpers.h +++ b/lv2/lv2plug.in/ns/ext/event/event-helpers.h @@ -191,12 +191,11 @@ lv2_event_write(LV2_Event_Iterator* iter, is not enough room in the buffer. */ static inline uint8_t* lv2_event_reserve(LV2_Event_Iterator* iter, - uint32_t frames, - uint32_t subframes, - uint16_t type, - uint16_t size) + uint32_t frames, + uint32_t subframes, + uint16_t type, + uint16_t size) { - size = lv2_event_pad_size(size); if (iter->buf->capacity - iter->buf->size < sizeof(LV2_Event) + size) return NULL; diff --git a/lv2/lv2plug.in/ns/ext/event/event.ttl b/lv2/lv2plug.in/ns/ext/event/event.ttl index e096503..d77d7cc 100644 --- a/lv2/lv2plug.in/ns/ext/event/event.ttl +++ b/lv2/lv2plug.in/ns/ext/event/event.ttl @@ -31,6 +31,15 @@ <event-helpers.h> , <../../people/people.ttl> ; doap:release [ + doap:revision "1.5" ; + doap:created "2012-04-05" ; + dcs:blame <http://drobilla.net/drobilla#me> ; + dcs:changeset [ + dcs:item [ + rdfs:label "Fix bug in lv2_event_reserve()." ; + ] ; + ] ; + ] , [ doap:revision "1.4" ; doap:created "2011-11-21" ; doap:file-release <http://lv2plug.in/spec/lv2-event-1.4.tar.bz2> ; |