Commit a1302cb8 authored by ramiro's avatar ramiro

Support absolute DOS paths for preset parameters

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15624 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 9f390064
...@@ -3685,7 +3685,8 @@ static int opt_preset(const char *opt, const char *arg) ...@@ -3685,7 +3685,8 @@ static int opt_preset(const char *opt, const char *arg)
f= fopen(tmp, "r"); 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"); f= fopen(arg, "r");
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment