Support absolute DOS paths for preset parameters
Originally committed as revision 15624 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
3
ffmpeg.c
3
ffmpeg.c
@@ -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");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user