oops swap HSV2sRGB IO interpretation

we were overflowing the stack
This commit is contained in:
John Cupitt 2015-06-10 12:49:52 +01:00
parent cda594d645
commit 5e9edbd6d5
1 changed files with 2 additions and 2 deletions

View File

@ -82,14 +82,14 @@ vips_HSV2sRGB_init( VipsHSV2sRGB *HSV2sRGB )
VipsColour *colour = VIPS_COLOUR( HSV2sRGB );
VipsColourCode *code = VIPS_COLOUR_CODE( HSV2sRGB );
colour->interpretation = VIPS_INTERPRETATION_HSV;
colour->interpretation = VIPS_INTERPRETATION_sRGB;
colour->format = VIPS_FORMAT_UCHAR;
colour->bands = 3;
colour->input_bands = 3;
code->input_coding = VIPS_CODING_NONE;
code->input_format = VIPS_FORMAT_UCHAR;
code->input_interpretation = VIPS_INTERPRETATION_sRGB;
code->input_interpretation = VIPS_INTERPRETATION_HSV;
}
/**