2013/1/5 Michael Niedermayer <michaelni at gmx.at> > divisions are slow, i would suggest: > mantissa = (((av_lfg_get(&s->dith_state)>>8)*181)>>8) - 5931008 > (untested, thus testing is needed and welcome) Looks good to me. Best regards, Mathias.