[FFmpeg-devel] [PATCH v3 1/3] avutil/random_seed: use fread() in read_random()

Anton Khirnov anton at khirnov.net
Wed Jul 5 15:43:13 EEST 2023


Quoting James Almer (2023-07-05 01:26:12)
> This ensures the requested amount of bytes is read.
> Also remove /dev/random as it's no longer necessary.
> 
> Signed-off-by: James Almer <jamrial at gmail.com>
> ---
>  libavutil/random_seed.c | 23 ++++++++++++-----------
>  1 file changed, 12 insertions(+), 11 deletions(-)

LGTM

-- 
Anton Khirnov


More information about the ffmpeg-devel mailing list