Changeset 7057
- Timestamp:
- May 3, 2006, 2:37:44 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/imageops/psImageStructManip.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/imageops/psImageStructManip.c
r6941 r7057 8 8 * @author Robert DeSonia, MHPCC 9 9 * 10 * @version $Revision: 1. 8$ $Name: not supported by cvs2svn $11 * @date $Date: 2006-0 4-21 21:10:01$10 * @version $Revision: 1.9 $ $Name: not supported by cvs2svn $ 11 * @date $Date: 2006-05-04 00:37:44 $ 12 12 * 13 13 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 33 33 psS32 inputColOffset; // offset in bytes to first subset pixel in input row 34 34 35 if (image == NULL || image->data.V == NULL) { 36 psError(PS_ERR_BAD_PARAMETER_NULL, true, 37 PS_ERRORTEXT_psImage_IMAGE_NULL); 38 return NULL; 39 } 40 35 41 if ( col0 < image->col0 || row0 < image->row0 ) { 36 42 // psError(PS_ERR_BAD_PARAMETER_VALUE, true, … … 40 46 col0, col1-1, row0, row1-1, 41 47 image->numCols-1, image->numRows-1); 42 return NULL;43 }44 45 if (image == NULL || image->data.V == NULL) {46 psError(PS_ERR_BAD_PARAMETER_NULL, true,47 PS_ERRORTEXT_psImage_IMAGE_NULL);48 48 return NULL; 49 49 }
Note:
See TracChangeset
for help on using the changeset viewer.
