libavcodec/exr : indent gray support patch
Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
7ebd13fc8b
commit
50747d6b1f
@ -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 &&
|
||||
|
Loading…
x
Reference in New Issue
Block a user