mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2025-02-24 06:12:42 +00:00
exr: fix error message when pixel type is not set
This only happens with missing chlist attribute from header. Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
parent
4751c6c270
commit
9f3c90a366
@ -636,7 +636,7 @@ static int decode_frame(AVCodecContext *avctx,
|
|||||||
av_log_missing_feature(avctx, "32-bit unsigned int", 1);
|
av_log_missing_feature(avctx, "32-bit unsigned int", 1);
|
||||||
return AVERROR_PATCHWELCOME;
|
return AVERROR_PATCHWELCOME;
|
||||||
default:
|
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;
|
return AVERROR_INVALIDDATA;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user