[FFmpeg-devel] [PATCH] get rid of rand() usage in libavformat/timefilter.c

Reimar Döffinger Reimar.Doeffinger
Fri Apr 10 17:41:47 CEST 2009


On Fri, Apr 10, 2009 at 05:10:57PM +0200, Diego Biurrun wrote:
> +#define LFG_MAX ((1ULL << 32) - 1)

Oh well, changing 1ULL to 1LL here is the simplest solution.

> +
>  int main(void)
>  {
> +    AVLFG prn;

prn seems a bit badly chosen. prng would be the usual abbreviation.



More information about the ffmpeg-devel mailing list