aboutsummaryrefslogtreecommitdiffstats
path: root/src/lv2_evbuf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lv2_evbuf.c')
-rw-r--r--src/lv2_evbuf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lv2_evbuf.c b/src/lv2_evbuf.c
index a64d860..8cc667d 100644
--- a/src/lv2_evbuf.c
+++ b/src/lv2_evbuf.c
@@ -112,7 +112,7 @@ lv2_evbuf_next(LV2_Evbuf_Iterator iter)
LV2_Evbuf* evbuf = iter.evbuf;
uint32_t offset = iter.offset;
- uint32_t size;
+ uint32_t size = 0;
size = ((LV2_Atom_Event*)
((char*)LV2_ATOM_CONTENTS(LV2_Atom_Sequence, &evbuf->buf.atom)
+ offset))->body.size;