r14479 - trunk/libavutil/lfg.h
30 Jul
2008
30 Jul
'08
11:17 p.m.
Author: michael Date: Thu Jul 31 01:17:41 2008 New Revision: 14479 Log: 1000l typo my new PRNG converged to -1. Modified: trunk/libavutil/lfg.h Modified: trunk/libavutil/lfg.h ============================================================================== --- trunk/libavutil/lfg.h (original) +++ trunk/libavutil/lfg.h Thu Jul 31 01:17:41 2008 @@ -48,7 +48,7 @@ static inline unsigned int av_lfg_get(AV static inline unsigned int av_mlfg_get(AVLFG *c){ unsigned int a= c->state[(c->index-55) & 63]; unsigned int b= c->state[(c->index-24) & 63]; - return c->state[c->index++ & 63] = a*b+a+b; + return c->state[c->index++ & 63] = 2*a*b+a+b; } #endif //FFMPEG_LFG_H
6680
Age (days ago)
6680
Last active (days ago)
0 comments
1 participants
participants (1)
-
subversion@mplayerhq.hu