You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
428 B
13 lines
428 B
diff --git a/tools/tiff2pdf.c b/tools/tiff2pdf.c
|
|
index 92a1a3d..26a1acb 100644
|
|
--- a/tools/tiff2pdf.c
|
|
+++ b/tools/tiff2pdf.c
|
|
@@ -2462,6 +2462,7 @@ tsize_t t2p_readwrite_pdf_image(T2P* t2p, TIFF* input, TIFF* output){
|
|
TIFFFileName(input));
|
|
t2p->t2p_error = T2P_ERR_ERROR;
|
|
_TIFFfree(buffer);
|
|
+ return(0);
|
|
} else {
|
|
buffer=samplebuffer;
|
|
t2p->tiff_datasize *= t2p->tiff_samplesperpixel;
|