mkv: fixed typo causing endless loop when chapters are created

This commit is contained in:
John Törnblom 2013-01-08 23:50:09 +01:00
parent ec76be3f1b
commit de818c09f2

View file

@ -1145,6 +1145,7 @@ mk_mux_destroy(mk_mux_t *mkm)
mk_chapter_t *ch;
while((ch = TAILQ_FIRST(&mkm->chapters)) != NULL) {
TAILQ_REMOVE(&mkm->chapters, ch, link);
free(ch);
}