diff options
author | RĂ©mi Denis-Courmont <remi@remlab.net> | 2013-08-06 21:19:25 +0300 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2013-08-07 21:12:28 +0200 |
commit | 880391ed2d2faf796ca3a16f63cec69767546a21 (patch) | |
tree | 9f99e2a6befc89927c547096ede5017aeb8af486 /libavutil | |
parent | 869b04e89154cd92d2bcfdabcecbe3217864c099 (diff) | |
download | ffmpeg-880391ed2d2faf796ca3a16f63cec69767546a21.tar.gz |
libavutil: use avpriv_open()
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavutil')
-rw-r--r-- | libavutil/random_seed.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavutil/random_seed.c b/libavutil/random_seed.c index ec9caa74b7..4680081b10 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 "internal.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) |