This commit is contained in:
Nicolas Robidoux 2009-03-15 13:27:16 +00:00
parent 3c77c6b8eb
commit 46e1aed932
1 changed files with 1 additions and 1 deletions

View File

@ -546,8 +546,8 @@ vips_interpolate_nohalo_interpolate( VipsInterpolate *interpolate,
* VIPS versions of Nicolas's pixel addressing values. Double bands for
* complex images.
*/
const int lskip = IM_REGION_LSKIP( in ) / IM_IMAGE_SIZEOF_ELEMENT( in->im );
const int bands_actual = in->im->Bands;
const int lskip = IM_REGION_LSKIP( in ) / IM_IMAGE_SIZEOF_ELEMENT( in->im );
const int bands =
( im_iscomplex( in->im ) ? 2 * bands_actual : bands_actual );