mkv: fixed typo causing endless loop when chapters are created
This commit is contained in:
parent
ec76be3f1b
commit
de818c09f2
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue