diff options
author | wm4 <wm4@nowhere> | 2013-05-04 01:02:09 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-05-06 23:11:11 +0200 |
commit | 5148f9f5cca6a5a28bb98a3b713f27614538815f (patch) | |
tree | f861652cbe04412b92886beea838c0cfc5725899 /core/mplayer.c | |
parent | 885c6a2610619ad3ee2b01ae7ec7670f8551d388 (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.c | 2 |
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; } |