summaryrefslogtreecommitdiffstats
path: root/libavformat/img2enc.c
diff options
context:
space:
mode:
authorClément Bœsch <u@pkh.me>2013-11-07 20:22:25 +0100
committerClément Bœsch <u@pkh.me>2013-11-07 20:30:43 +0100
commit3c5e6e76356e5fdcbba831be0696b915258a6e96 (patch)
tree16099ca52ad302abba415dc3f9e3a10d2569f5ef /libavformat/img2enc.c
parentf70db22999d713da3306bf29ec763d670b9bf1ea (diff)
downloadffmpeg-streaming-3c5e6e76356e5fdcbba831be0696b915258a6e96.zip
ffmpeg-streaming-3c5e6e76356e5fdcbba831be0696b915258a6e96.tar.gz
avformat/img2enc: reindent after previous commit.
Diffstat (limited to 'libavformat/img2enc.c')
-rw-r--r--libavformat/img2enc.c13
1 files 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;
}
OpenPOWER on IntegriCloud