Commit 25719620 authored by Michael Niedermayer's avatar Michael Niedermayer

file: fix 10l error in access() check

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 51d68799
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment