libavcodec/exr : indent gray support patch

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
pull/224/head
Martin Vignali 9 years ago committed by Michael Niedermayer
parent 7ebd13fc8b
commit 50747d6b1f
  1. 5
      libavcodec/exr.c

@ -1380,12 +1380,13 @@ static int decode_header(EXRContext *s)
!strcmp(ch_gb.buffer, "W")){ !strcmp(ch_gb.buffer, "W")){
channel_index = 2; channel_index = 2;
s->is_luma = 0; s->is_luma = 0;
} else if (!strcmp(ch_gb.buffer, "A")) } else if (!strcmp(ch_gb.buffer, "A")) {
channel_index = 3; channel_index = 3;
else } else {
av_log(s->avctx, AV_LOG_WARNING, av_log(s->avctx, AV_LOG_WARNING,
"Unsupported channel %.256s.\n", ch_gb.buffer); "Unsupported channel %.256s.\n", ch_gb.buffer);
} }
}
/* skip until you get a 0 */ /* skip until you get a 0 */
while (bytestream2_get_bytes_left(&ch_gb) > 0 && while (bytestream2_get_bytes_left(&ch_gb) > 0 &&

Loading…
Cancel
Save