mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-23 23:21:06 +01:00
Merge commit '880391ed2d'
* commit '880391ed2d':
libavutil: use avpriv_open()
Conflicts:
libavutil/random_seed.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
579a137897
1 changed files with 2 additions and 1 deletions
|
|
@ -32,6 +32,7 @@
|
|||
#include <time.h>
|
||||
#include <string.h>
|
||||
#include "avassert.h"
|
||||
#include "internal.h"
|
||||
#include "timer.h"
|
||||
#include "random_seed.h"
|
||||
#include "sha.h"
|
||||
|
|
@ -44,7 +45,7 @@
|
|||
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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue