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

Michael Niedermayer michaelni
Sun Mar 29 19:17:43 CEST 2009


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

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

it is not once nor twice but times without number that the same ideas make
their appearance in the world. -- Aristotle
-------------- 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/20090329/440a51ff/attachment.pgp>



More information about the ffmpeg-devel mailing list