This commit is contained in:
John Cupitt 2013-09-03 18:07:58 +01:00
parent 333d15aed0
commit f1f6ab29ae
3 changed files with 4 additions and 2 deletions

View File

@ -83,7 +83,7 @@ vips_hist_norm_build( VipsObject *object )
int y;
VipsBandFormat fmt;
g_object_set( norm, "out", vips_image_new(), NULL );
g_object_set( object, "out", vips_image_new(), NULL );
if( VIPS_OBJECT_CLASS( vips_hist_norm_parent_class )->build( object ) )
return( -1 );

View File

@ -179,7 +179,7 @@ vips_histogram_build( VipsObject *object )
for( i = 0; i < histogram->n; i++ ) {
if( vips_image_wio_input( histogram->ready[i] ) )
return( -1 );
inbuf[i] = VIPS_IMAGE_ADDR( histogram->in[i], 0, 0 );
inbuf[i] = VIPS_IMAGE_ADDR( histogram->ready[i], 0, 0 );
}
inbuf[i] = NULL;

View File

@ -515,6 +515,8 @@ vips_maplut_build( VipsObject *object )
int i, x;
VipsPel *q;
g_object_set( object, "out", vips_image_new(), NULL );
if( VIPS_OBJECT_CLASS( vips_maplut_parent_class )->build( object ) )
return( -1 );