diff options
author | RĂ©mi Denis-Courmont <remi@remlab.net> | 2013-08-06 21:19:28 +0300 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2013-08-07 21:22:03 +0200 |
commit | 51eb213d00154b8e7856c7667ea62db8b0f663d4 (patch) | |
tree | 2be9db585c8ce72b999fe8d5be26e3f9a793167f /libavformat | |
parent | 71bf6b41d974229a06921806c333ce98566a5d8a (diff) | |
download | ffmpeg-51eb213d00154b8e7856c7667ea62db8b0f663d4.tar.gz |
libavformat: use avpriv_open()
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/file.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/file.c b/libavformat/file.c index c552a9eaa5..2837e9f150 100644 --- a/libavformat/file.c +++ b/libavformat/file.c @@ -20,6 +20,7 @@ */ #include "libavutil/avstring.h" +#include "libavutil/internal.h" #include "libavutil/opt.h" #include "avformat.h" #include <fcntl.h> @@ -110,7 +111,7 @@ static int file_open(URLContext *h, const char *filename, int flags) #ifdef O_BINARY access |= O_BINARY; #endif - fd = open(filename, access, 0666); + fd = avpriv_open(filename, access, 0666); if (fd == -1) return AVERROR(errno); c->fd = fd; |