Commit f0b88cbcdb1983bbcd680e6f0de8a21924eb025c

Zoltan Szabadka 2015-02-25T18:19:51

Fixes to the encoder to support visual studio. Changes suggested by @r-lyeh and @anthrotype. - Use a portable simple PRNG instead of rand_r() - add missing <assert.h> include - disambiguate log2() argument type - remove endian.h include from write_bits.h