diff options
author | Ramiro Polla <ramiro.polla@gmail.com> | 2008-10-15 14:12:59 +0000 |
---|---|---|
committer | Ramiro Polla <ramiro.polla@gmail.com> | 2008-10-15 14:12:59 +0000 |
commit | 3ddb448d0a31f63004b1e7aab1dc113e4b29a6fa (patch) | |
tree | 0f7109996650339f902c11a1a102b1358a74c247 /ffmpeg.c | |
parent | c49d0e0fe2d5e06f015cc473cf90232ce0ff0f69 (diff) | |
download | ffmpeg-3ddb448d0a31f63004b1e7aab1dc113e4b29a6fa.tar.gz |
Support absolute DOS paths for preset parameters
Originally committed as revision 15624 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r-- | ffmpeg.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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"); } |