From 694510708229a2b6f032fbee38515e890dd7336c Mon Sep 17 00:00:00 2001 From: cristy Date: Mon, 24 May 2010 22:42:42 +0000 Subject: [PATCH] --- ChangeLog | 1 + coders/dpx.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 6b3b81229..823300ea2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,7 @@ 2010-05-24 6.6.2-1 Cristy * Respect density when rendering SVG images. * Set AVI handler to the MPEG coder. + * Compute the proper DPX user data field size. 2010-05-23 6.6.2.0 Anthony Thyssen * Third Re-write of MorphologyApply() to better handle compound methods. diff --git a/coders/dpx.c b/coders/dpx.c index 1af6f2059..49cf443b2 100644 --- a/coders/dpx.c +++ b/coders/dpx.c @@ -985,7 +985,7 @@ static Image *ReadDPXImage(const ImageInfo *image_info,ExceptionInfo *exception) StringInfo *profile; - profile=AcquireStringInfo(dpx.file.user_size-sizeof(dpx.user.id)); + profile=AcquireStringInfo(dpx.file.user_size); offset+=ReadBlob(image,GetStringInfoLength(profile), GetStringInfoDatum(profile)); (void) SetImageProfile(image,"dpx",profile); -- 2.40.0