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:
Paul B Mahol 2013-02-28 17:37:40 +00:00
parent 4751c6c270
commit 9f3c90a366
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}