[FFmpeg-cvslog] file: fix 10l error in access() check

Michael Niedermayer git at videolan.org
Tue Nov 27 13:36:42 CET 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Nov 27 13:12:49 2012 +0100| [257196209fe7d27ad22e18bf5757ffcad47dce6b] | committer: Michael Niedermayer

file: fix 10l error in access() check

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=257196209fe7d27ad22e18bf5757ffcad47dce6b
---

 libavformat/file.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/file.c b/libavformat/file.c
index 840d368..e09a64b 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);



More information about the ffmpeg-cvslog mailing list