summaryrefslogtreecommitdiff
path: root/coders/gray.c
diff options
context:
space:
mode:
Diffstat (limited to 'coders/gray.c')
-rw-r--r--coders/gray.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/coders/gray.c b/coders/gray.c
index 0af76d01a..2529eecc1 100644
--- a/coders/gray.c
+++ b/coders/gray.c
@@ -311,13 +311,11 @@ ModuleExport size_t RegisterGRAYImage(void)
MagickInfo
*entry;
- entry=SetMagickInfo("GRAY");
+ entry=AcquireMagickInfo("GRAY","GRAY","Raw gray samples");
entry->decoder=(DecodeImageHandler *) ReadGRAYImage;
entry->encoder=(EncodeImageHandler *) WriteGRAYImage;
entry->flags|=CoderRawSupportFlag;
entry->flags|=CoderEndianSupportFlag;
- entry->description=ConstantString("Raw gray samples");
- entry->module=ConstantString("GRAY");
(void) RegisterMagickInfo(entry);
return(MagickImageCoderSignature);
}