projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c49d0e0
)
Support absolute DOS paths for preset parameters
author
Ramiro Polla
<ramiro.polla@gmail.com>
Wed, 15 Oct 2008 14:12:59 +0000
(14:12 +0000)
committer
Ramiro Polla
<ramiro.polla@gmail.com>
Wed, 15 Oct 2008 14:12:59 +0000
(14:12 +0000)
Originally committed as revision 15624 to svn://svn.ffmpeg.org/ffmpeg/trunk
ffmpeg.c
patch
|
blob
|
history
diff --git
a/ffmpeg.c
b/ffmpeg.c
index 40da0f3937cded154f74f09f11bf17abc7866cf2..bad954bafbfdf85b9afa7262e28b77fbc3e9c658 100644
(file)
--- 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");
}