mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
exr: print channel names not yet supported
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
parent
fedefe4a87
commit
cd3136e84a
@ -291,12 +291,14 @@ static int decode_frame(AVCodecContext *avctx,
|
||||
|
||||
if (!strcmp(buf, "R"))
|
||||
channel_index = 0;
|
||||
if (!strcmp(buf, "G"))
|
||||
else if (!strcmp(buf, "G"))
|
||||
channel_index = 1;
|
||||
if (!strcmp(buf, "B"))
|
||||
else if (!strcmp(buf, "B"))
|
||||
channel_index = 2;
|
||||
if (!strcmp(buf, "A"))
|
||||
else if (!strcmp(buf, "A"))
|
||||
channel_index = 3;
|
||||
else
|
||||
av_log(avctx, AV_LOG_WARNING, "Unsupported channel %.256s\n", buf);
|
||||
|
||||
while (bytestream_get_byte(&buf) && buf < channel_list_end)
|
||||
continue; /* skip */
|
||||
|
Loading…
Reference in New Issue
Block a user