Browse Source

file: fix 10l error in access() check

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n1.1
Michael Niedermayer 13 years ago
parent
commit
257196209f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/file.c

+ 1
- 1
libavformat/file.c View File

@@ -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);


Loading…
Cancel
Save