This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
Support loading presets from random paths.
Fixes issue659. Originally committed as revision 15443 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Michael Niedermayer
17 years ago
parent
7a8b7634c5
commit
4e72f129c3
1 changed files
with
3 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
ffmpeg.c
+ 3
- 0
ffmpeg.c
View File
@@ -3740,6 +3740,9 @@ static int opt_preset(const char *opt, const char *arg)
f= fopen(tmp, "r");
}
}
if(!f && ((arg[0]=='.' && arg[1]=='/') || arg[0]=='/')){
f= fopen(arg, "r");
}
if(!f){
fprintf(stderr, "Preset file not found\n");
Write
Preview
Loading…
Cancel
Save