• Philip Langdale's avatar
    ass subtitles: Fix valgrind warnings. · 50b4dbf6
    Philip Langdale authored
    We're now running some of this code through valgrind for the first
    time, and a few warnings showed up stemming from two problems.
    
    1) The ASS code assumes the subtitle header is null terminated, but
    it wasn't, and passing the size down doesn't look like fun, so I
    added a terminator
    
    2) The code wasn't freeing all of its state.
    Signed-off-by: 's avatarPhilip Langdale <philipl@overt.org>
    50b4dbf6
ffmpeg.c 234 KB