1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-16 20:27:23 +00:00

player: actually close files on playback end

Regression since commit 75b1d504.
This commit is contained in:
wm4 2015-08-15 16:26:02 +02:00
parent a6e33b4290
commit 00b60710cf

View File

@ -90,7 +90,7 @@ static void uninit_demuxer(struct MPContext *mpctx)
timeline_destroy(mpctx->tl);
mpctx->tl = NULL;
free_demuxer(mpctx->master_demuxer);
free_demuxer_and_stream(mpctx->master_demuxer);
mpctx->master_demuxer = NULL;
talloc_free(mpctx->sources);