From 3ddb448d0a31f63004b1e7aab1dc113e4b29a6fa Mon Sep 17 00:00:00 2001 From: Ramiro Polla Date: Wed, 15 Oct 2008 14:12:59 +0000 Subject: Support absolute DOS paths for preset parameters Originally committed as revision 15624 to svn://svn.ffmpeg.org/ffmpeg/trunk --- ffmpeg.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ffmpeg.c') 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"); } -- cgit v1.2.1