From a3a55be9cdebd517f4dce9ff66aeda78b136b003 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Sun, 24 Dec 2017 19:18:52 -0500 Subject: Correct errors in PNG filters and make use from library --- libtests/png_filter.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libtests/png_filter.cc') 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; -- cgit v1.2.3-70-g09d2