aboutsummaryrefslogtreecommitdiffstats
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorRamiro Polla <ramiro.polla@gmail.com>2009-11-02 23:44:11 +0000
committerRamiro Polla <ramiro.polla@gmail.com>2009-11-02 23:44:11 +0000
commit200267333c57a04e455178afaf08e7f7a63e44d8 (patch)
tree092ce52387023784df60f11c7836689db4fc76bf /ffmpeg.c
parenta75e103432a6c1a385af2a730690f87dde366da6 (diff)
downloadffmpeg-200267333c57a04e455178afaf08e7f7a63e44d8.tar.gz
Indent.
Originally committed as revision 20436 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 43985b9e4f..4d50768711 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -3776,17 +3776,17 @@ static int opt_preset(const char *opt, const char *arg)
};
if (*opt != 'f') {
- for(i=!base[0]; i<2 && !f; i++){
- snprintf(filename, sizeof(filename), "%s%s/%s.ffpreset", base[i], i ? "" : "/.ffmpeg", arg);
- f= fopen(filename, "r");
- if(!f){
- char *codec_name= *opt == 'v' ? video_codec_name :
- *opt == 'a' ? audio_codec_name :
- subtitle_codec_name;
- snprintf(filename, sizeof(filename), "%s%s/%s-%s.ffpreset", base[i], i ? "" : "/.ffmpeg", codec_name, arg);
+ for(i=!base[0]; i<2 && !f; i++){
+ snprintf(filename, sizeof(filename), "%s%s/%s.ffpreset", base[i], i ? "" : "/.ffmpeg", arg);
f= fopen(filename, "r");
+ if(!f){
+ char *codec_name= *opt == 'v' ? video_codec_name :
+ *opt == 'a' ? audio_codec_name :
+ subtitle_codec_name;
+ snprintf(filename, sizeof(filename), "%s%s/%s-%s.ffpreset", base[i], i ? "" : "/.ffmpeg", codec_name, arg);
+ f= fopen(filename, "r");
+ }
}
- }
} else {
av_strlcpy(filename, arg, sizeof(filename));
f= fopen(filename, "r");