• Martin Storsjö's avatar
    movenc: Check for errors from mov_create_chapter_track · 0fb3e1c6
    Martin Storsjö authored
    On failures in the write_trailer function, we could also ignore
    the errors and try to finish the file despite these errors (which
    would only leave an incomplete chapters track). It's probably better
    to signal the error clearly to the caller though (and if this
    function failed there's no guarantee that there's enough memory to
    finish the trailer either).
    Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
    0fb3e1c6
movenc.c 125 KB