summaryrefslogtreecommitdiffstats
path: root/video/out/vo_image.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/vo_image.c')
-rw-r--r--video/out/vo_image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/vo_image.c b/video/out/vo_image.c
index 991265da23..a130048e54 100644
--- a/video/out/vo_image.c
+++ b/video/out/vo_image.c
@@ -55,7 +55,7 @@ static bool checked_mkdir(struct vo *vo, const char *buf)
char *errstr = strerror(errno);
if (errno == EEXIST) {
struct stat stat_p;
- if (mp_stat(buf, &stat_p ) == 0 && S_ISDIR(stat_p.st_mode))
+ if (stat(buf, &stat_p ) == 0 && S_ISDIR(stat_p.st_mode))
return true;
}
MP_ERR(vo, "Error creating output directory: %s\n", errstr);