[FFmpeg-devel] remove libavutil/random.[ch]

Diego Biurrun diego
Sat Mar 21 16:10:36 CET 2009


On Sat, Mar 21, 2009 at 03:43:09PM +0100, Luca Barbato wrote:
> Diego Biurrun wrote:
> >libavutil/random.[ch] are deprecated and no longer used anywhere within
> >FFmpeg.  I propose deleting them, libavutil is currently in an unstable
> >state anyway.
> 
> Is there something to replace it? rtsp and rtp rfcs have plenty 
> references about random number and currently we are using 0 in a bunch 
> of places that should use at least consecutive numbers...

Have a look at

libavutil/lfg.h
libavutil/random_seed.h

Diego




More information about the ffmpeg-devel mailing list