summaryrefslogtreecommitdiffstats
path: root/core/timeline/tl_edl.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/timeline/tl_edl.c')
-rw-r--r--core/timeline/tl_edl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/timeline/tl_edl.c b/core/timeline/tl_edl.c
index fb8441d322..5ec04ac716 100644
--- a/core/timeline/tl_edl.c
+++ b/core/timeline/tl_edl.c
@@ -275,7 +275,7 @@ void build_edl_timeline(struct MPContext *mpctx)
p->end = *t;
if (*t >= 0 && parts[i].duration) {
*t -= parts[i].duration;
- if (t < 0) {
+ if (*t < 0) {
mp_msg(MSGT_CPLAYER, MSGL_ERR, "EDL: Negative time "
"on line %d!\n", parts[i].lineno);
goto out;