diff options
author | Martin Vignali <martin.vignali@gmail.com> | 2016-06-04 17:45:31 +0200 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2016-06-06 15:39:06 +0200 |
commit | d24eb9a3c6ccf57ba5a0f0848d033ada5721de29 (patch) | |
tree | 3f28e99054f667c5b48b18cea0dfceea67c89b1e /libavcodec/exr.c | |
parent | 753088a2a4d1519a2cd409f34dac022067b82d76 (diff) | |
download | ffmpeg-d24eb9a3c6ccf57ba5a0f0848d033ada5721de29.tar.gz |
avcodec/exr: indent the if (layer_match) part
Diffstat (limited to 'libavcodec/exr.c')
-rw-r--r-- | libavcodec/exr.c | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/libavcodec/exr.c b/libavcodec/exr.c index 55bdf6ebb6..088f64bea5 100644 --- a/libavcodec/exr.c +++ b/libavcodec/exr.c @@ -1348,23 +1348,23 @@ static int decode_header(EXRContext *s) } if (layer_match) { /* only search channel if the layer match is valid */ - if (!strcmp(ch_gb.buffer, "R") || - !strcmp(ch_gb.buffer, "X") || - !strcmp(ch_gb.buffer, "U")) - channel_index = 0; - else if (!strcmp(ch_gb.buffer, "G") || - !strcmp(ch_gb.buffer, "Y") || - !strcmp(ch_gb.buffer, "V")) - channel_index = 1; - else if (!strcmp(ch_gb.buffer, "B") || - !strcmp(ch_gb.buffer, "Z") || - !strcmp(ch_gb.buffer, "W")) - channel_index = 2; - else if (!strcmp(ch_gb.buffer, "A")) - channel_index = 3; - else - av_log(s->avctx, AV_LOG_WARNING, - "Unsupported channel %.256s.\n", ch_gb.buffer); + if (!strcmp(ch_gb.buffer, "R") || + !strcmp(ch_gb.buffer, "X") || + !strcmp(ch_gb.buffer, "U")) + channel_index = 0; + else if (!strcmp(ch_gb.buffer, "G") || + !strcmp(ch_gb.buffer, "Y") || + !strcmp(ch_gb.buffer, "V")) + channel_index = 1; + else if (!strcmp(ch_gb.buffer, "B") || + !strcmp(ch_gb.buffer, "Z") || + !strcmp(ch_gb.buffer, "W")) + channel_index = 2; + else if (!strcmp(ch_gb.buffer, "A")) + channel_index = 3; + else + av_log(s->avctx, AV_LOG_WARNING, + "Unsupported channel %.256s.\n", ch_gb.buffer); } /* skip until you get a 0 */ |