]> git.sesse.net Git - ffmpeg/blobdiff - libavutil/random_seed.c
Merge commit '85e10c0a9321bfe0d2afe0f3983ab6a8df6e3fba'
[ffmpeg] / libavutil / random_seed.c
index d1c9a3f7046d7efada2e11194819e113ab0f6bb7..881c23c8c81c2b91ff69521247a4219eb1feebb5 100644 (file)
@@ -26,7 +26,7 @@
 #if HAVE_IO_H
 #include <io.h>
 #endif
-#if HAVE_CRYPTGENRANDOM
+#if HAVE_WINCRYPT
 #include <windows.h>
 #include <wincrypt.h>
 #endif
@@ -121,7 +121,7 @@ uint32_t av_get_random_seed(void)
 {
     uint32_t seed;
 
-#if HAVE_CRYPTGENRANDOM
+#if HAVE_WINCRYPT
     HCRYPTPROV provider;
     if (CryptAcquireContext(&provider, NULL, NULL, PROV_RSA_FULL,
                             CRYPT_VERIFYCONTEXT | CRYPT_SILENT)) {