Skip to content

Commit

Permalink
fix ABI breakage introduced by 6a0ff35
Browse files Browse the repository at this point in the history
 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
  • Loading branch information
skal65535 authored and Pascal Massimino committed Apr 21, 2020
1 parent 1d58dcf commit f9b3058
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/webp/encode.h
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,6 @@ struct WebPConfig {
int alpha_quality; // Between 0 (smallest size) and 100 (lossless).
// Default is 100.
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.
// In-loop filtering is not applied.
Expand Down Expand Up @@ -150,7 +148,8 @@ struct WebPConfig {
int use_delta_palette; // reserved for future lossless feature
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
Expand Down

0 comments on commit f9b3058

Please sign in to comment.