diff options
author | Ramiro Polla <ramiro.polla@gmail.com> | 2009-11-02 23:44:11 +0000 |
---|---|---|
committer | Ramiro Polla <ramiro.polla@gmail.com> | 2009-11-02 23:44:11 +0000 |
commit | 200267333c57a04e455178afaf08e7f7a63e44d8 (patch) | |
tree | 092ce52387023784df60f11c7836689db4fc76bf /ffmpeg.c | |
parent | a75e103432a6c1a385af2a730690f87dde366da6 (diff) | |
download | ffmpeg-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.c | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -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"); |