Commit 9f3c90a3 authored by Paul B Mahol's avatar Paul B Mahol

exr: fix error message when pixel type is not set

This only happens with missing chlist attribute from header.
Signed-off-by: 's avatarPaul B Mahol <onemda@gmail.com>
parent 4751c6c2
......@@ -636,7 +636,7 @@ static int decode_frame(AVCodecContext *avctx,
av_log_missing_feature(avctx, "32-bit unsigned int", 1);
return AVERROR_PATCHWELCOME;
default:
av_log(avctx, AV_LOG_ERROR, "Unknown pixel type : %d\n", s->pixel_type);
av_log(avctx, AV_LOG_ERROR, "Missing channel list\n");
return AVERROR_INVALIDDATA;
}
......
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