[FFmpeg-cvslog] exr: fix error message when pixel type is not set

Paul B Mahol git at videolan.org
Thu Feb 28 19:48:44 CET 2013


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Thu Feb 28 17:37:40 2013 +0000| [9f3c90a36688f44080d344a9353afc7ee3a08cfe] | committer: Paul B Mahol

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 at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9f3c90a36688f44080d344a9353afc7ee3a08cfe
---

 libavcodec/exr.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/exr.c b/libavcodec/exr.c
index 5d716a6..53c8f2b 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;
     }
 



More information about the ffmpeg-cvslog mailing list