diff --git a/lib/mapping.c b/lib/mapping.c index cb1fbf5e4..fe43d6b7d 100644 --- a/lib/mapping.c +++ b/lib/mapping.c @@ -159,7 +159,7 @@ int mapping_parse_str(struct mapping_entry *e, const char *str, struct list *nod } else { e->data.offset = 0; - e->length = e->node ? e->node->samplelen : 0; + e->length = 0; } } else