Commit cb936d62 authored by Andreas Cadhalpun's avatar Andreas Cadhalpun

exr: reindent after previous commit

Signed-off-by: 's avatarAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
(cherry picked from commit ce3147eb)
Signed-off-by: 's avatarAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
parent 71378e79
...@@ -1418,14 +1418,14 @@ static int decode_header(EXRContext *s) ...@@ -1418,14 +1418,14 @@ static int decode_header(EXRContext *s)
} }
if (channel_index >= 0 && s->channel_offsets[channel_index] == -1) { /* channel has not been previously assigned */ if (channel_index >= 0 && s->channel_offsets[channel_index] == -1) { /* channel has not been previously assigned */
if (s->pixel_type != EXR_UNKNOWN && if (s->pixel_type != EXR_UNKNOWN &&
s->pixel_type != current_pixel_type) { s->pixel_type != current_pixel_type) {
av_log(s->avctx, AV_LOG_ERROR, av_log(s->avctx, AV_LOG_ERROR,
"RGB channels not of the same depth.\n"); "RGB channels not of the same depth.\n");
return AVERROR_INVALIDDATA; return AVERROR_INVALIDDATA;
} }
s->pixel_type = current_pixel_type; s->pixel_type = current_pixel_type;
s->channel_offsets[channel_index] = s->current_channel_offset; s->channel_offsets[channel_index] = s->current_channel_offset;
} }
s->channels = av_realloc(s->channels, s->channels = av_realloc(s->channels,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment