On Sun, 9 Jul 2023, Marton Balint wrote:

Signed-off-by: Marton Balint <c...@passwd.hu>
---
libavutil/random_seed.c | 1 +
1 file changed, 1 insertion(+

Will apply.

Regards,
Marton



diff --git a/libavutil/random_seed.c b/libavutil/random_seed.c
index f167b172f2..6d399cee49 100644
--- a/libavutil/random_seed.c
+++ b/libavutil/random_seed.c
@@ -59,6 +59,7 @@ static int read_random(uint8_t *dst, size_t len, const char 
*file)

    if (!fp)
        return AVERROR_UNKNOWN;
+    setvbuf(fp, NULL, _IONBF, 0);
    err = fread(dst, 1, len, fp);
    fclose(fp);

--
2.35.3

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to