summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/mplayer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/mplayer.c b/core/mplayer.c
index a6cc189df6..7d657edb54 100644
--- a/core/mplayer.c
+++ b/core/mplayer.c
@@ -3249,7 +3249,7 @@ double chapter_start_time(struct MPContext *mpctx, int chapter)
if (mpctx->chapters)
return mpctx->chapters[chapter].start;
if (mpctx->master_demuxer)
- return demuxer_chapter_time(mpctx->master_demuxer, chapter, NULL);
+ return demuxer_chapter_time(mpctx->master_demuxer, chapter);
return -1;
}