---
libavutil/random_seed.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/libavutil/random_seed.c b/libavutil/random_seed.c
index ec9caa7..c63dbc4 100644
--- a/libavutil/random_seed.c
+++ b/libavutil/random_seed.c
@@ -30,13 +30,14 @@
#include <fcntl.h>
#include <math.h>
#include <time.h>
+#include "file.h"
#include "timer.h"
#include "random_seed.h"
static int read_random(uint32_t *dst, const char *file)
{
#if HAVE_UNISTD_H
- int fd = open(file, O_RDONLY);
+ int fd = avpriv_open(file, O_RDONLY);
int err = -1;
if (fd == -1)
--
1.8.4.rc1
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel