about summary refs log tree commit diff
path: root/converter/other/jpeg2000/libjasper_compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'converter/other/jpeg2000/libjasper_compat.h')
-rw-r--r--converter/other/jpeg2000/libjasper_compat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/converter/other/jpeg2000/libjasper_compat.h b/converter/other/jpeg2000/libjasper_compat.h
index 45dd904b..103b1d09 100644
--- a/converter/other/jpeg2000/libjasper_compat.h
+++ b/converter/other/jpeg2000/libjasper_compat.h
@@ -49,7 +49,7 @@ pmjas_image_decode(jas_stream_t * const in,
 
     if (jasperP) {
         *imagePP = jasperP;
-        *errorP  = errorP;
+        *errorP  = NULL;
     } else {
         pm_asprintf(errorP, "Failed.  Details may have been written to "
                     "Standard Error");