aboutsummaryrefslogtreecommitdiffstats
path: root/libtests
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2017-12-25 01:18:52 +0100
committerJay Berkenbilt <ejb@ql.org>2017-12-25 20:24:48 +0100
commita3a55be9cdebd517f4dce9ff66aeda78b136b003 (patch)
tree8d2bed12e9d21eb63db79218ad5dc05d33f4bbb9 /libtests
parent9a487202463c2bf05fc8fce8ae6a1005348a69a0 (diff)
downloadqpdf-a3a55be9cdebd517f4dce9ff66aeda78b136b003.tar.zst
Correct errors in PNG filters and make use from library
Diffstat (limited to 'libtests')
-rw-r--r--libtests/png_filter.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libtests/png_filter.cc b/libtests/png_filter.cc
index 2caf99fb..6a4f676c 100644
--- a/libtests/png_filter.cc
+++ b/libtests/png_filter.cc
@@ -17,7 +17,7 @@ void run(char const* filename, bool encode, unsigned int columns)
Pipeline* pl = new Pl_PNGFilter(
"png", out,
encode ? Pl_PNGFilter::a_encode : Pl_PNGFilter::a_decode,
- columns, 0 /* not used */);
+ columns);
assert((2 * (columns + 1)) < 1024);
unsigned char buf[1024];
size_t len;