summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ffmpeg.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 40da0f3937..bad954bafb 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -3685,7 +3685,8 @@ static int opt_preset(const char *opt, const char *arg)
f= fopen(tmp, "r");
}
}
- if(!f && ((arg[0]=='.' && arg[1]=='/') || arg[0]=='/')){
+ if(!f && ((arg[0]=='.' && arg[1]=='/') || arg[0]=='/' ||
+ is_dos_path(arg))){
f= fopen(arg, "r");
}