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

Michael Niedermayer michaelni
Fri Apr 10 18:54:08 CEST 2009


On Fri, Apr 10, 2009 at 05:49:45PM +0200, Diego Biurrun wrote:
> On Fri, Apr 10, 2009 at 05:41:47PM +0200, Reimar D?ffinger wrote:
> > On Fri, Apr 10, 2009 at 05:10:57PM +0200, Diego Biurrun wrote:
[...]
> > > +
> > >  int main(void)
> > >  {
> > > +    AVLFG prn;
> > 
> > prn seems a bit badly chosen. prng would be the usual abbreviation.
> 
> Why?  It is a Pseudo Random Number, not a Pseudo Random Number
> Generator..

prn is a number?


> 
> The output of the program still changes, is this a problem?

probably not, the stuff is quite sensitive to the first value IIRC ...


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

I am the wisest man alive, for I know one thing, and that is that I know
nothing. -- Socrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090410/b1d149c9/attachment.pgp>



More information about the ffmpeg-devel mailing list