summaryrefslogtreecommitdiff
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2008-06-08 10:48:52 +0000
committerMichael Niedermayer <michaelni@gmx.at>2008-06-08 10:48:52 +0000
commit439c18c75da4b018f49ddba3049a49930cc8ea88 (patch)
tree26262db2234b739c33c8e560466dd6f2f9c1476e /ffmpeg.c
parent23b20b5cf34e2c78ddc5c7a52ca787402eab9d52 (diff)
indent
Originally committed as revision 13709 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index c0741956c7..afff5d9f73 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -3648,14 +3648,14 @@ static int opt_preset(const char *opt, const char *arg)
for(i=!base[0]; i<3 && !f; i++){
snprintf(tmp, sizeof(tmp), "%s/%sffmpeg/%s.ffpreset", base[i], i ? "" : ".", arg);
- f= fopen(tmp, "r");
- if(!f){
- char *codec_name= *opt == 'v' ? video_codec_name :
- *opt == 'a' ? audio_codec_name :
- subtitle_codec_name;
- snprintf(tmp, sizeof(tmp), "%s/%sffmpeg/%s-%s.ffpreset", base[i], i ? "" : ".", codec_name, arg);
f= fopen(tmp, "r");
- }
+ if(!f){
+ char *codec_name= *opt == 'v' ? video_codec_name :
+ *opt == 'a' ? audio_codec_name :
+ subtitle_codec_name;
+ snprintf(tmp, sizeof(tmp), "%s/%sffmpeg/%s-%s.ffpreset", base[i], i ? "" : ".", codec_name, arg);
+ f= fopen(tmp, "r");
+ }
}
if(!f){