[FFmpeg-devel] [PATCH] get rid of rand() usage in libavformat/timefilter.c
Michael Niedermayer
michaelni
Thu Apr 9 19:42:30 CEST 2009
On Thu, Apr 09, 2009 at 06:10:52PM +0200, Diego Biurrun wrote:
> On Mon, Mar 30, 2009 at 01:58:25PM +0200, Diego Biurrun wrote:
> > 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().
> > > >
> > > > The output differs, I'm not sure if this is OK...
> > >
> > > could you post the diff?
> > > and RAND_MAX + av_lfg() is not good
pong
[...]
> > The first line is identical, then it starts to diverge.
>
> ... ping ...
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Why not whip the teacher when the pupil misbehaves? -- Diogenes of Sinope
-------------- 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/20090409/e4ce99a6/attachment.pgp>
More information about the ffmpeg-devel
mailing list