aboutsummaryrefslogtreecommitdiff
path: root/turbojpeg.c
diff options
context:
space:
mode:
Diffstat (limited to 'turbojpeg.c')
-rw-r--r--turbojpeg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/turbojpeg.c b/turbojpeg.c
index 60d6ee95..9fc60cec 100644
--- a/turbojpeg.c
+++ b/turbojpeg.c
@@ -1069,7 +1069,7 @@ DLLEXPORT int DLLCALL tjTransform(tjhandle handle, unsigned char *jpegBuf,
for(y=0; y<compptr->v_samp_factor; y++)
{
if(t[i].customFilter(barray[y][0], arrayRegion, planeRegion,
- ci, i)==-1)
+ ci, i, &t[i])==-1)
_throw("tjTransform(): Error in custom filter");
arrayRegion.y+=DCTSIZE;
}