[FFmpeg-cvslog] r18420 - trunk/libavformat/timefilter.c
Diego Biurrun
diego
Fri Apr 10 20:15:48 CEST 2009
On Fri, Apr 10, 2009 at 07:03:01PM +0100, M?ns Rullg?rd wrote:
> diego <subversion at mplayerhq.hu> writes:
> >
> > Log:
> > Replace rand() usage by av_lfg_get().
> >
> > --- trunk/libavformat/timefilter.c Fri Apr 10 17:16:11 2009 (r18419)
> > +++ trunk/libavformat/timefilter.c Fri Apr 10 19:12:36 2009 (r18420)
> > @@ -76,9 +76,12 @@ double ff_timefilter_update(TimeFilter *
> >
> > #ifdef TEST
> > -#undef rand
> > +#include "libavutil/lfg.h"
> > +#define LFG_MAX ((1LL << 32) - 1)
>
> Why not UINT32_MAX?
I (blindly) followed Reimar's suggestion, I'll change it in a moment.
Diego
More information about the ffmpeg-cvslog
mailing list