[FFmpeg-cvslog] avformat/img2enc: reindent after previous commit.

Clément Bœsch git at videolan.org
Thu Nov 7 20:33:52 CET 2013


ffmpeg | branch: master | Clément Bœsch <u at pkh.me> | Thu Nov  7 20:22:25 2013 +0100| [3c5e6e76356e5fdcbba831be0696b915258a6e96] | committer: Clément Bœsch

avformat/img2enc: reindent after previous commit.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3c5e6e76356e5fdcbba831be0696b915258a6e96
---

 libavformat/img2enc.c |   13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

diff --git a/libavformat/img2enc.c b/libavformat/img2enc.c
index 56aa5fc..daf6fc3 100644
--- a/libavformat/img2enc.c
+++ b/libavformat/img2enc.c
@@ -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;
 }



More information about the ffmpeg-cvslog mailing list