OSDN Git Service

avformat/img2enc: reindent after previous commit.
authorClément Bœsch <u@pkh.me>
Thu, 7 Nov 2013 19:22:25 +0000 (20:22 +0100)
committerClément Bœsch <u@pkh.me>
Thu, 7 Nov 2013 19:30:43 +0000 (20:30 +0100)
libavformat/img2enc.c

index 56aa5fc..daf6fc3 100644 (file)
@@ -59,13 +59,12 @@ static int write_header(AVFormatContext *s)
         img->muxer = "gif";
     } else if (st->codec->codec_id == AV_CODEC_ID_RAWVIDEO) {
         const char *str = strrchr(img->path, '.');
-        /* TODO: reindent */
-    img->split_planes =     str
-                         && !av_strcasecmp(str + 1, "y")
-                         && s->nb_streams == 1
-                         && desc
-                         &&(desc->flags & AV_PIX_FMT_FLAG_PLANAR)
-                         && desc->nb_components >= 3;
+        img->split_planes =     str
+                             && !av_strcasecmp(str + 1, "y")
+                             && s->nb_streams == 1
+                             && desc
+                             &&(desc->flags & AV_PIX_FMT_FLAG_PLANAR)
+                             && desc->nb_components >= 3;
     }
     return 0;
 }