From 200267333c57a04e455178afaf08e7f7a63e44d8 Mon Sep 17 00:00:00 2001 From: Ramiro Polla Date: Mon, 2 Nov 2009 23:44:11 +0000 Subject: [PATCH] Indent. Originally committed as revision 20436 to svn://svn.ffmpeg.org/ffmpeg/trunk --- ffmpeg.c | 18 +++++++++--------- 1 file 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");