mpv-player/mpv — pull request #307 by mathstuf (2013-10-19 13:47:18+00:00)
Title: matroska: clear ordered chapter if ordered chapters aren't used

It seems these were never initialized, so were invalid when check_file
(from tl_matroska.c) tried to check the ordered chapters for further
segment references. This likely only occurs when an ordered edition
references a non-ordered edition which contains chapters (not exactly
sure though).

Speculative fix for #306.