Commit 880391ed authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont Committed by Anton Khirnov

libavutil: use avpriv_open()

Signed-off-by: 's avatarAnton Khirnov <anton@khirnov.net>
parent 869b04e8
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment