IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 23, 2010, 7:29:26 AM (16 years ago)
Author:
eugene
Message:

abort on image size mismatch (would segfault)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/fft/psImageFFT.c

    r28998 r29014  
    2323#include <pthread.h>
    2424
     25#include "psAbort.h"
    2526#include "psAssert.h"
    2627#include "psError.h"
     
    744745
    745746    if (paddedCols != kernel->paddedCols) {
    746         psError(PS_ERR_BAD_PARAMETER_SIZE, true, _("Image is inconsistent with allocated kernel"));
    747         return NULL;
     747        psAbort(_("Image is inconsistent with allocated kernel"));
    748748    }   
    749749    if (paddedRows != kernel->paddedRows) {
    750         psError(PS_ERR_BAD_PARAMETER_SIZE, true, _("Image is inconsistent with allocated kernel"));
    751         return NULL;
     750        psAbort(_("Image is inconsistent with allocated kernel"));
    752751    }   
    753752
Note: See TracChangeset for help on using the changeset viewer.