[FFmpeg-cvslog] libavutil: use avpriv_open()

Rémi Denis-Courmont git at videolan.org
Thu Aug 8 11:24:06 CEST 2013


ffmpeg | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Aug  6 21:19:25 2013 +0300| [880391ed2d2faf796ca3a16f63cec69767546a21] | committer: Anton Khirnov

libavutil: use avpriv_open()

Signed-off-by: Anton Khirnov <anton at khirnov.net>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=880391ed2d2faf796ca3a16f63cec69767546a21
---

 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..4680081 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)



More information about the ffmpeg-cvslog mailing list