A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://ffmpeg.org/pipermail/ffmpeg-devel/2007-January/027226.html below:

[Ffmpeg-devel] [RFC] av_random...

[Ffmpeg-devel] [RFC] av_random... [Ffmpeg-devel] [RFC] av_random...Michael Niedermayer michaelni
Tue Jan 9 23:47:27 CET 2007
Hi

On Tue, Jan 09, 2007 at 04:03:21PM -0600, Ryan Martell wrote:
[...]
> For the record, the timing units I sent before were only timing the  
> generate_untempered function, since it's only called every  
> AV_RANDOM_N times av_random is called.
> 
> Final question: typically, I use time(NULL) to initialize the seeds  
> of a random number generator.  Since ffmpeg says don't use time 
> (NULL), what's the best pseodo-random seed generator to use?

0 should do

and the code looks ok (except the missing Makefile patch)

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The greatest way to live with honor in this world is to be what we pretend
to be. -- Socrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070109/47f29420/attachment.pgp>

More information about the ffmpeg-devel mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4