Free C string passed to ffmpeg