mirror of
https://github.com/webmproject/libwebp.git
synced 2024-11-19 20:08:28 +01:00
Merge "vp8l_enc: fix non-C90 code" into main
This commit is contained in:
commit
c1ffd9ac75
@ -325,7 +325,8 @@ static int EncoderAnalyze(VP8LEncoder* const enc,
|
||||
if ((i != kPalette && i != kPaletteAndSpatial) || use_palette) {
|
||||
assert(*crunch_configs_size < CRUNCH_CONFIGS_MAX);
|
||||
if (use_palette && (i == kPalette || i == kPaletteAndSpatial)) {
|
||||
for (int sorting_method = 0; sorting_method < kPaletteSortingNum;
|
||||
int sorting_method;
|
||||
for (sorting_method = 0; sorting_method < kPaletteSortingNum;
|
||||
++sorting_method) {
|
||||
const PaletteSorting typed_sorting_method =
|
||||
(PaletteSorting)sorting_method;
|
||||
|
Loading…
Reference in New Issue
Block a user