diff options
Diffstat (limited to 'ffmpeg/libavutil/file.c')
| -rw-r--r-- | ffmpeg/libavutil/file.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ffmpeg/libavutil/file.c b/ffmpeg/libavutil/file.c index 41850f8..45fe853 100644 --- a/ffmpeg/libavutil/file.c +++ b/ffmpeg/libavutil/file.c @@ -18,6 +18,7 @@ #include "config.h" #include "file.h" +#include "internal.h" #include "log.h" #include "mem.h" #include <fcntl.h> @@ -49,7 +50,7 @@ int av_file_map(const char *filename, uint8_t **bufptr, size_t *size, int log_offset, void *log_ctx) { FileLogContext file_log_ctx = { &file_log_ctx_class, log_offset, log_ctx }; - int err, fd = open(filename, O_RDONLY); + int err, fd = avpriv_open(filename, O_RDONLY); struct stat st; av_unused void *ptr; off_t off_size; |
