On Wed, Jan 03, 2024 at 07:36:00PM +0100, Michael Koch wrote:
> Possible better algorithm for the random generator, which might fix the
> problem:
> 
> eval.c  line 235
> 
> if (r == 0)
>   r = UINT64_MAX/13;
> else
>   r = r*1664525+1013904223;

This modifies the properties of the PRNG as it doesnt just change
the seed but jumps the generator from 0 to a differnt value, that
may happen more often than just at the start

posted a more correct fix for the low quality numbers

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

What does censorship reveal? It reveals fear. -- Julian Assange

Attachment: signature.asc
Description: PGP signature

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to