cosmetics: indentation
authorAurelien Jacobs <aurel@gnuage.org>
Mon, 2 Feb 2009 22:14:28 +0000 (22:14 +0000)
committerAurelien Jacobs <aurel@gnuage.org>
Mon, 2 Feb 2009 22:14:28 +0000 (22:14 +0000)
Originally committed as revision 16955 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/mp3.c

index 857661b..ba3baf1 100644 (file)
@@ -555,14 +555,14 @@ static int id3v1_create_tag(AVFormatContext *s, uint8_t *buf)
         count++;
     }
     if ((tag = av_metadata_get(s->metadata, "genre", NULL, 0))) {
-    for(i = 0; i <= ID3v1_GENRE_MAX; i++) {
-        if (!strcasecmp(tag->value, id3v1_genre_str[i])) {
-            buf[127] = i;
-            count++;
-            break;
+        for(i = 0; i <= ID3v1_GENRE_MAX; i++) {
+            if (!strcasecmp(tag->value, id3v1_genre_str[i])) {
+                buf[127] = i;
+                count++;
+                break;
+            }
         }
     }
-    }
     return count;
 }