summaryrefslogtreecommitdiffstats
path: root/player/loadfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'player/loadfile.c')
-rw-r--r--player/loadfile.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/player/loadfile.c b/player/loadfile.c
index d6ff75d668..f750d8917c 100644
--- a/player/loadfile.c
+++ b/player/loadfile.c
@@ -1333,6 +1333,7 @@ goto_reopen_demuxer: ;
mpctx->paused = false;
mpctx->paused_for_cache = false;
mpctx->eof_reached = false;
+ mpctx->last_chapter = -2;
mpctx->seek = (struct seek_params){ 0 };
// If there's a timeline force an absolute seek to initialize state