ffmpeg: fix a memleak in subtitles decoding.