diff options
Diffstat (limited to 'pdf/pdf_stream.c')
-rw-r--r-- | pdf/pdf_stream.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/pdf/pdf_stream.c b/pdf/pdf_stream.c index a81ecb18..b8a8f5c6 100644 --- a/pdf/pdf_stream.c +++ b/pdf/pdf_stream.c @@ -58,11 +58,6 @@ build_filter(fz_stream *chain, pdf_document * xref, pdf_obj * f, pdf_obj * p, in int colors = pdf_to_int(pdf_dict_gets(p, "Colors")); int bpc = pdf_to_int(pdf_dict_gets(p, "BitsPerComponent")); - if (predictor <= 0) predictor = 1; - if (columns <= 0) columns = 1; - if (colors <= 0) colors = 1; - if (bpc <= 0) bpc = 8; - if (!strcmp(s, "ASCIIHexDecode") || !strcmp(s, "AHx")) return fz_open_ahxd(chain); |