summaryrefslogtreecommitdiffstats
path: root/player/loadfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'player/loadfile.c')
-rw-r--r--player/loadfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/player/loadfile.c b/player/loadfile.c
index f3861e25eb..3833a80231 100644
--- a/player/loadfile.c
+++ b/player/loadfile.c
@@ -391,7 +391,7 @@ double timeline_set_from_time(struct MPContext *mpctx, double pts, bool *need_re
return pts - p->start + p->source_start;
}
}
- return -1;
+ return MP_NOPTS_VALUE;
}
static int find_new_tid(struct MPContext *mpctx, enum stream_type t)