Commit 50747d6b authored by Martin Vignali's avatar Martin Vignali Committed by Michael Niedermayer

libavcodec/exr : indent gray support patch

Reviewed-by: 's avatarPaul B Mahol <onemda@gmail.com>
Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 7ebd13fc
......@@ -1380,12 +1380,13 @@ static int decode_header(EXRContext *s)
!strcmp(ch_gb.buffer, "W")){
channel_index = 2;
s->is_luma = 0;
} else if (!strcmp(ch_gb.buffer, "A"))
} else if (!strcmp(ch_gb.buffer, "A")) {
channel_index = 3;
else
} else {
av_log(s->avctx, AV_LOG_WARNING,
"Unsupported channel %.256s.\n", ch_gb.buffer);
}
}
/* skip until you get a 0 */
while (bytestream2_get_bytes_left(&ch_gb) > 0 &&
......
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