]> mj.ucw.cz Git - libucw.git/blobdiff - images/io-libmagick.c
added support for libungif
[libucw.git] / images / io-libmagick.c
index aa426872920d17941ea0ee0141e89ca255b14e5f..ee0480d1b5371c7606eb051088d5b67468d0dce4 100644 (file)
@@ -65,7 +65,7 @@ libmagick_read_header(struct image_io *io)
     }
   uns buf_size = file_size;
   byte *buf = xmalloc(buf_size);
-  bread(io->fastbuf, buf, buf_size);
+  breadb(io->fastbuf, buf, buf_size);
 
   /* Allocate read structure */
   struct magick_read_data *rd = io->read_data = mp_alloc(io->internal_pool, sizeof(*rd));