yaz/commit

typo

authorMichiel Hildebrand
Wed Nov 9 10:43:17 2011 +0100
committerMichiel Hildebrand
Wed Nov 9 10:43:17 2011 +0100
commita72b96ff6a47cc7c5185c6320e26ffa400ffa2fe
treebce10c9708da9994c569c2ac145dce4b85c879b5
parent978786ae4bcd40392ad7b048e6aa53f3180c1b3a
Diff style: patch stat
diff --git a/api/edm_export.pl b/api/edm_export.pl
index 748de17..d16190f 100644
--- a/api/edm_export.pl
+++ b/api/edm_export.pl
@@ -242,7 +242,7 @@ annotations_to_edm([A|As], Video, Source, Proxy, Triples) :-
 	!,
 	StartTime is round(Start/1000),
 	Duration is round(Duration0/1000),
-	EndTime is Start+Duration,
+	EndTime is StartTime+Duration,
 	fragment_url(Source, StartTime, EndTime, ShotSource),
 	prefix_url(Shot, 'proxy/', ShotProxy),
 	shot_annotations_to_edm(Values, ShotProxy, Annotations),