Ensure affineInterpolator is correctly finalised (#3083)

This commit is contained in:
Kleis Auke Wolthuizen
2022-02-09 15:45:11 +01:00
committed by GitHub
parent 4feee506cf
commit 115a6b10f6
2 changed files with 6 additions and 4 deletions

View File

@@ -126,7 +126,7 @@ struct PipelineBaton {
double affineIdy;
double affineOdx;
double affineOdy;
vips::VInterpolate affineInterpolator;
std::string affineInterpolator;
int jpegQuality;
bool jpegProgressive;
std::string jpegChromaSubsampling;
@@ -268,7 +268,7 @@ struct PipelineBaton {
affineIdy(0),
affineOdx(0),
affineOdy(0),
affineInterpolator(vips::VInterpolate::new_from_name("bicubic")),
affineInterpolator("bicubic"),
jpegQuality(80),
jpegProgressive(false),
jpegChromaSubsampling("4:2:0"),