[FFmpeg-cvslog] r20436 - trunk/ffmpeg.c

ramiro subversion
Tue Nov 3 00:44:11 CET 2009


Author: ramiro
Date: Tue Nov  3 00:44:11 2009
New Revision: 20436

Log:
Indent.

Modified:
   trunk/ffmpeg.c

Modified: trunk/ffmpeg.c
==============================================================================
--- trunk/ffmpeg.c	Tue Nov  3 00:41:54 2009	(r20435)
+++ trunk/ffmpeg.c	Tue Nov  3 00:44:11 2009	(r20436)
@@ -3776,17 +3776,17 @@ static int opt_preset(const char *opt, c
                          };
 
     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");



More information about the ffmpeg-cvslog mailing list