X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavutil%2Frandom_seed.h;h=bb957879be65ffbdf010ed2d43df328ad972e075;hb=f863cdef813e51d5850e2386618feafe197f06f4;hp=7f750632333f686a9d6cf45c67dcb2783deb235a;hpb=7b7c47c8f70e51d3835a6153c3e467e59acf8a8b;p=ffmpeg diff --git a/libavutil/random_seed.h b/libavutil/random_seed.h index 7f750632333..bb957879be6 100644 --- a/libavutil/random_seed.h +++ b/libavutil/random_seed.h @@ -25,6 +25,10 @@ /** * Get a seed to use in conjunction with random functions. + * This function tries to provide a good seed at a best effort bases. + * Its possible to call this function multiple times if more bits are needed. + * It can be quite slow, which is why it should only be used as seed for a faster + * PRNG. The quality of the seed depends on the platform. */ uint32_t av_get_random_seed(void);