[FFmpeg-cvslog] r26074 - trunk/libavutil/file.c

stefano subversion
Wed Dec 22 16:32:14 CET 2010


Author: stefano
Date: Wed Dec 22 16:32:13 2010
New Revision: 26074

Log:
Replace lstat() with stat() in av_file_map(). The lstat() use was wrong.

Modified:
   trunk/libavutil/file.c

Modified: trunk/libavutil/file.c
==============================================================================
--- trunk/libavutil/file.c	Wed Dec 22 15:13:04 2010	(r26073)
+++ trunk/libavutil/file.c	Wed Dec 22 16:32:13 2010	(r26074)
@@ -54,7 +54,7 @@ int av_file_map(const char *filename, ui
         return err;
     }
 
-    if (lstat(filename, &st) < 0) {
+    if (stat(filename, &st) < 0) {
         err = AVERROR(errno);
         av_strerror(err, errbuf, sizeof(errbuf));
         av_log(&file_log_ctx, AV_LOG_ERROR, "Error occurred in lstat(): %s\n", errbuf);



More information about the ffmpeg-cvslog mailing list