OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.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
40da0f3
..
bad954b
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");
}