summaryrefslogtreecommitdiff
path: root/libavcodec/exr.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2013-02-28 17:37:40 +0000
committerPaul B Mahol <onemda@gmail.com>2013-02-28 18:38:15 +0000
commit9f3c90a36688f44080d344a9353afc7ee3a08cfe (patch)
tree5ef5a0ccbf4cac730cd66120cee6b560ccb68351 /libavcodec/exr.c
parent4751c6c270dfce432dea0a5751c344723bf1d51e (diff)
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>
Diffstat (limited to 'libavcodec/exr.c')
-rw-r--r--libavcodec/exr.c2
1 files changed, 1 insertions, 1 deletions
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;
}