diff options
author | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2016-11-16 22:47:35 +0300 |
---|---|---|
committer | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2016-11-17 00:37:24 +0300 |
commit | ce3147eb198770b558acf6c05f33cb807a413707 (patch) | |
tree | a01d17861b1417bbff602fc27cca858e48e907ad /libavcodec/exr.c | |
parent | ffdc5d09e498bee8176c9e35df101c01c546a738 (diff) |
exr: reindent after previous commit
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Diffstat (limited to 'libavcodec/exr.c')
-rw-r--r-- | libavcodec/exr.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/libavcodec/exr.c b/libavcodec/exr.c index 51a8ee603c..51c17d6ebd 100644 --- a/libavcodec/exr.c +++ b/libavcodec/exr.c @@ -1429,14 +1429,14 @@ static int decode_header(EXRContext *s) } if (channel_index >= 0 && s->channel_offsets[channel_index] == -1) { /* channel has not been previously assigned */ - if (s->pixel_type != EXR_UNKNOWN && - s->pixel_type != current_pixel_type) { - av_log(s->avctx, AV_LOG_ERROR, - "RGB channels not of the same depth.\n"); - return AVERROR_INVALIDDATA; - } - s->pixel_type = current_pixel_type; - s->channel_offsets[channel_index] = s->current_channel_offset; + if (s->pixel_type != EXR_UNKNOWN && + s->pixel_type != current_pixel_type) { + av_log(s->avctx, AV_LOG_ERROR, + "RGB channels not of the same depth.\n"); + return AVERROR_INVALIDDATA; + } + s->pixel_type = current_pixel_type; + s->channel_offsets[channel_index] = s->current_channel_offset; } s->channels = av_realloc(s->channels, |