On one hand, it's good that the 10 variables for ld() and st() are initialized with zero. But on the other hand, zero is obviously the worst possible seed value for the random generator.

For example, make a 1000x1000 image with red color, and then fill one pixel at a random position with yellow color. Surprise surprise, the pixel is in the top left corner. That's not what a user expects from a random generator. It took me some time to figure out what's the problem, and how to set a better seed value.

Michael

_______________________________________________
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