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

Diego Biurrun diego
Fri Apr 10 14:50:16 CEST 2009


On Sun, Mar 29, 2009 at 07:17:43PM +0200, Michael Niedermayer wrote:
> On Sun, Mar 29, 2009 at 05:37:24PM +0200, Diego Biurrun wrote:
> > Here is a patch to use av_lfg* in libavformat/timefilter.c instead of
> > rand().
> 
> RAND_MAX + av_lfg() is not good

What is the alternative?

Diego



More information about the ffmpeg-devel mailing list