]> granicus.if.org Git - php/commitdiff
fixed unresolved symbol pdf_open_memory_image when pdflib 2.01 is used
authorUwe Steinmann <steinm@php.net>
Thu, 12 Aug 1999 17:45:01 +0000 (17:45 +0000)
committerUwe Steinmann <steinm@php.net>
Thu, 12 Aug 1999 17:45:01 +0000 (17:45 +0000)
ext/pdf/pdf.c

index 8805f058ea71c8f13cfafed36b238009ee366c6b..67ac8de2018e91f0b175dee0ab1a7deb9105ff4e 100644 (file)
@@ -2022,7 +2022,7 @@ PHP_FUNCTION(pdf_open_memory_image) {
 #if PDFLIB_MINORVERSION == 0
                pdf_image = PDF_open_memory_image(pdf, buffer, im->sx, im->sy, 3, 8);
 #else
-               pdf_image = PDF_open_memory_image(pdf, "raw", "memory", buffer, im->sx*im->sy*3, im->sx, im->sy, 3, 8, NULL);
+               pdf_image = PDF_open_image(pdf, "raw", "memory", buffer, im->sx*im->sy*3, im->sx, im->sy, 3, 8, NULL);
 #endif
 
        if(-1 == pdf_image) {