Revision f39e8b03

View differences:

libavutil/lfg.h
48 48
static inline unsigned int av_mlfg_get(AVLFG *c){
49 49
    unsigned int a= c->state[(c->index-55) & 63];
50 50
    unsigned int b= c->state[(c->index-24) & 63];
51
    return c->state[c->index++ & 63] = a*b+a+b;
51
    return c->state[c->index++ & 63] = 2*a*b+a+b;
52 52
}
53 53

  
54 54
#endif //FFMPEG_LFG_H

Also available in: Unified diff