Skip to content
Snippets Groups Projects
Commit 9f3c90a3 authored by Paul B Mahol's avatar Paul B Mahol
Browse files

exr: fix error message when pixel type is not set


This only happens with missing chlist attribute from header.

Signed-off-by: default avatarPaul B Mahol <onemda@gmail.com>
parent 4751c6c2
No related branches found
No related tags found
No related merge requests found
...@@ -636,7 +636,7 @@ static int decode_frame(AVCodecContext *avctx, ...@@ -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;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment