Skip to content

Commit

Permalink
Merge "vp8l_enc: fix non-C90 code" into main
Browse files Browse the repository at this point in the history
  • Loading branch information
vrabaud authored and Gerrit Code Review committed Sep 15, 2023
2 parents a396594 + f80e9b7 commit c1ffd9a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/enc/vp8l_enc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit c1ffd9a

Please sign in to comment.