summaryrefslogtreecommitdiff
path: root/coders/mtv.c
diff options
context:
space:
mode:
authorcristy <urban-warrior@git.imagemagick.org>2011-10-15 01:52:48 +0000
committercristy <urban-warrior@git.imagemagick.org>2011-10-15 01:52:48 +0000
commite941a75fe8bf344bc5c06a7f74bb5173c87db115 (patch)
treed0bb26916a4e72c81376f13c23f07037666519b5 /coders/mtv.c
parentd15e65928aec551b7388c2863de3e3e628e2e0dd (diff)
downloadImageMagick-e941a75fe8bf344bc5c06a7f74bb5173c87db115.tar.gz
Diffstat (limited to 'coders/mtv.c')
-rw-r--r--coders/mtv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coders/mtv.c b/coders/mtv.c
index 6a0ebe1af..a60e1023f 100644
--- a/coders/mtv.c
+++ b/coders/mtv.c
@@ -367,7 +367,7 @@ static MagickBooleanType WriteMTVImage(const ImageInfo *image_info,Image *image,
Allocate memory for pixels.
*/
if (IsRGBColorspace(image->colorspace) == MagickFalse)
- (void) TransformImageColorspace(image,RGBColorspace);
+ (void) TransformImageColorspace(image,RGBColorspace,exception);
pixels=(unsigned char *) AcquireQuantumMemory((size_t) image->columns,
3UL*sizeof(*pixels));
if (pixels == (unsigned char *) NULL)