aboutsummaryrefslogtreecommitdiffhomepage
path: root/core/mplayer.c
diff options
context:
space:
mode:
authorGravatar wm4 <wm4@nowhere>2013-05-04 01:02:09 +0200
committerGravatar wm4 <wm4@nowhere>2013-05-06 23:11:11 +0200
commit5148f9f5cca6a5a28bb98a3b713f27614538815f (patch)
treef861652cbe04412b92886beea838c0cfc5725899 /core/mplayer.c
parent885c6a2610619ad3ee2b01ae7ec7670f8551d388 (diff)
demux: remove retrieval of chapter end time
The frontend doesn't use this. Also use double for returning the chapter times. Everything uses double for times, and there's no reason to use float here.
Diffstat (limited to 'core/mplayer.c')
-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;
}