2017-06-12 13:22 GMT+02:00 Paul Gofman gofmanp@gmail.com:
+static void pres_float_to_int(const void *in, void *out, unsigned int count)
Something I forgot earlier and maybe it's bikeshedding, but anyway: could you flip those functions around like e.g. pres_int_from_float()? The "out" argument should also be swapped with "in".
Patch looks good otherwise.