fix ABI breakage introduced by 6a0ff358

qmin / qmax are now using the pad[] spot at the end of the struct,
 and we don't need to bump the ABI major number.

Change-Id: I41adcaf1600b29a5a05c9fe380bfd977cf425124
This commit is contained in:
Pascal Massimino 2020-04-20 14:41:36 +02:00 committed by Pascal Massimino
parent 1d58dcfc17
commit f9b30586eb

View File

@ -121,8 +121,6 @@ struct WebPConfig {
int alpha_quality; // Between 0 (smallest size) and 100 (lossless). int alpha_quality; // Between 0 (smallest size) and 100 (lossless).
// Default is 100. // Default is 100.
int pass; // number of entropy-analysis passes (in [1..10]). int pass; // number of entropy-analysis passes (in [1..10]).
int qmin; // minimum permissible quality factor
int qmax; // maximum permissible quality factor
int show_compressed; // if true, export the compressed picture back. int show_compressed; // if true, export the compressed picture back.
// In-loop filtering is not applied. // In-loop filtering is not applied.
@ -150,7 +148,8 @@ struct WebPConfig {
int use_delta_palette; // reserved for future lossless feature int use_delta_palette; // reserved for future lossless feature
int use_sharp_yuv; // if needed, use sharp (and slow) RGB->YUV conversion int use_sharp_yuv; // if needed, use sharp (and slow) RGB->YUV conversion
uint32_t pad[2]; // padding for later use int qmin; // minimum permissible quality factor
int qmax; // maximum permissible quality factor
}; };
// Enumerate some predefined settings for WebPConfig, depending on the type // Enumerate some predefined settings for WebPConfig, depending on the type