diff --git a/coders/vid.c b/coders/vid.c
index 68cd0d0..60a62ee 100644
--- a/coders/vid.c
+++ b/coders/vid.c
@@ -139,7 +139,7 @@
assert(exception != (ExceptionInfo *) NULL);
assert(exception->signature == MagickSignature);
image=AcquireImage(image_info);
- filelist=(char **) AcquireMagickMemory(sizeof(*filelist));
+ filelist=(char **) AcquireAlignedMemory(1,sizeof(*filelist));
if (filelist == (char **) NULL)
ThrowReaderException(ResourceLimitError,"MemoryAllocationFailed");
filelist[0]=ConstantString(image_info->filename);