IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 26, 2009, 9:45:34 AM (17 years ago)
Author:
Paul Price
Message:

Adding assertion on image type, since it's assumed in the code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/jpeg/psImageJpeg.c

    r10999 r22681  
    140140    PS_ASSERT_PTR_NON_NULL(map, false);
    141141    PS_ASSERT_IMAGE_NON_NULL(image, false);
     142    PS_ASSERT_IMAGE_TYPE(image, PS_TYPE_F32, false);
    142143    PS_ASSERT_VECTOR_NON_NULL(map->red, false);
    143144    PS_ASSERT_VECTOR_NON_NULL(map->green, false);
Note: See TracChangeset for help on using the changeset viewer.