author | Niveditha Rau <Niveditha.Rau@Oracle.COM> |
Thu, 17 Mar 2016 08:44:16 -0700 | |
changeset 5622 | b0275c75884a |
permissions | -rw-r--r-- |
5622
b0275c75884a
22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
1 |
We should be able to remove this patch once we update to the most recent version |
b0275c75884a
22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
2 |
|
b0275c75884a
22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
3 |
--- tiff-4.0.3/tools/tiff2pdf.c.orig 2013-10-03 18:14:06.789911741 +0530 |
b0275c75884a
22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
4 |
+++ tiff-4.0.3/tools/tiff2pdf.c 2013-10-03 18:14:48.881676646 +0530 |
b0275c75884a
22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
5 |
@@ -2462,6 +2462,7 @@ tsize_t t2p_readwrite_pdf_image(T2P* t2p |
b0275c75884a
22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
6 |
TIFFFileName(input)); |
b0275c75884a
22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
7 |
t2p->t2p_error = T2P_ERR_ERROR; |
b0275c75884a
22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
8 |
_TIFFfree(buffer); |
b0275c75884a
22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
9 |
+ return(0); |
b0275c75884a
22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
10 |
} else { |
b0275c75884a
22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
11 |
buffer=samplebuffer; |
b0275c75884a
22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
12 |
t2p->tiff_datasize *= t2p->tiff_samplesperpixel; |