summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mplayer.c b/mplayer.c
index 0f2cae6736..4a58b2dcdc 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -580,6 +580,7 @@ void uninit_player(struct MPContext *mpctx, unsigned int mask){
mpctx->timeline = NULL;
mpctx->num_timeline_parts = 0;
talloc_free(mpctx->chapters);
+ mpctx->chapters = NULL;
mpctx->num_chapters = 0;
mpctx->video_offset = 0;
if(mpctx->demuxer){