From 9f3c90a36688f44080d344a9353afc7ee3a08cfe Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Thu, 28 Feb 2013 17:37:40 +0000 Subject: [PATCH] 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 --- libavcodec/exr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/exr.c b/libavcodec/exr.c index 5d716a6945..53c8f2b656 100644 --- a/libavcodec/exr.c +++ b/libavcodec/exr.c @@ -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; }