]> git.sesse.net Git - ffmpeg/commitdiff
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 857661ba6043412fc6861faad6c6d8444dea1f37..ba3baf14231da7b1521f37c5b5dffbaa2eebd0b7 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;
 }