]> granicus.if.org Git - openjpeg/commitdiff
Remove invalid assert in compare_images
authormayeut <mayeut@users.noreply.github.com>
Thu, 10 Sep 2015 06:04:59 +0000 (08:04 +0200)
committermayeut <mayeut@users.noreply.github.com>
Thu, 10 Sep 2015 06:04:59 +0000 (08:04 +0200)
tests/compare_images.c

index fa15d13e6b05c1eb7b22fcec82e5cee0c2ed7572..b28d4957722cf9661c1cf320e8a1c5966eb63449 100644 (file)
@@ -279,8 +279,6 @@ static opj_image_t* readImageFromFileTIF(const char* filename, int nbFilenamePGX
     return NULL;
     }
 
-  /* \postconditions */
-  assert( image_read->numcomps == 1 || image_read->numcomps == 3 );
   return image_read;
 }