[FFmpeg-devel] [PATCH 2/2] doc/utils/eval: clarify meaning of random* seed value

Michael Koch astroelectronic at t-online.de
Wed Jan 3 20:36:00 EET 2024


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;

Michael


More information about the ffmpeg-devel mailing list