diff options
author | Tom Gall <tom.gall@linaro.org> | 2011-12-22 14:42:57 -0600 |
---|---|---|
committer | Tom Gall <tom.gall@linaro.org> | 2011-12-22 14:42:57 -0600 |
commit | 18f0f9b4246babba59c0105ddd72154d8d4d91c5 (patch) | |
tree | 017ab92ed4aa0994b9319f0214e6f455f73fad63 /turbojpeg.c | |
parent | b63f21bea61f4e161efbb894b15f993a1921f669 (diff) |
r707 : Implement custom filter callback in Java
Diffstat (limited to 'turbojpeg.c')
-rw-r--r-- | turbojpeg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/turbojpeg.c b/turbojpeg.c index 60d6ee9..9fc60ce 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; } |