Fixing a bug. An error was printed if no restorator was applied.
--- a/src/jpeg-7a/jdrapi.c Sun Oct 08 17:18:42 2006 +0200
+++ b/src/jpeg-7a/jdrapi.c Fri Oct 13 11:22:22 2006 +0200
@@ -76,9 +76,6 @@
rest_process_restorators(j_decompress_ptr cinfo,
JSAMPIMAGE output_buf, const jvirt_barray_ptr whole_image[])
{
- if (cinfo->rest == NULL)
- ERREXIT(cinfo, JERR_REST_INVALID);
-
/* !!! Check colorspace !!! */
/* Process the plane unpacking */
apply_plane_idct(cinfo, JREST_TARGET_IDCT_Y, output_buf, whole_image);