diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-11-27 13:12:49 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-11-27 13:24:00 +0100 |
commit | 257196209fe7d27ad22e18bf5757ffcad47dce6b (patch) | |
tree | d9a825940512879d5cb54ff4e9b7248e09c5121d | |
parent | 51d6879939bf4777227d77db59c659c66d3d967d (diff) | |
download | ffmpeg-257196209fe7d27ad22e18bf5757ffcad47dce6b.tar.gz |
file: fix 10l error in access() check
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavformat/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/file.c b/libavformat/file.c index 840d3684c7..e09a64b37c 100644 --- a/libavformat/file.c +++ b/libavformat/file.c @@ -85,7 +85,7 @@ static int file_get_handle(URLContext *h) static int file_check(URLContext *h, int mask) { -#if defined(HAVE_ACCESS) && defined(R_OK) +#if HAVE_ACCESS && defined(R_OK) int ret = 0; if (access(h->filename, F_OK) < 0) return AVERROR(errno); |