Unified · Split
| @@ -132,7 +132,7 @@ static int cmp_color(const void *a, const void *b) · 131 unmodified lines | ||
| 132 | 132 | { |
| 133 | 133 | const struct range_box *box1 = a; |
| 134 | 134 | const struct range_box *box2 = b; |
| 135 | − return FFDIFFSIGN(box1->color , box2->color); | |
| 135 | + return FFDIFFSIGN(box1->color, box2->color); | |
| 136 | 136 | } |
| 137 | 137 | |
| 138 | 138 | static void compute_box_stats(PaletteGenContext *s, struct range_box *box) |
| @@ -188,7 +188,7 @@ static int get_next_box_id_to_split(PaletteGenContext *s) · 49 unmodified lines | ||
| 188 | 188 | return -1; |
| 189 | 189 | |
| 190 | 190 | for (box_id = 0; box_id < s->nb_boxes; box_id++) { |
| 191 | − struct range_box *box = &s->boxes[box_id]; | |
| 191 | + const struct range_box *box = &s->boxes[box_id]; | |
| 192 | 192 | if (s->boxes[box_id].len >= 2 && box->cut_score > max_score) { |
| 193 | 193 | best_box_id = box_id; |
| 194 | 194 | max_score = box->cut_score; |