History

avfilter/palettegen: misc cosmetics

Clément Bœsch committed 3 years ago

Commit 61d334d1 parent efb0a6f1 file · +2 −2Browse files

Unified · Split

libavfilter/vf_palettegen.c+2−2
@@ -132,7 +132,7 @@ static int cmp_color(const void *a, const void *b) · 131 unmodified lines
132132 {
133133 const struct range_box *box1 = a;
134134 const struct range_box *box2 = b;
135− return FFDIFFSIGN(box1->color , box2->color);
135+ return FFDIFFSIGN(box1->color, box2->color);
136136 }
137137
138138 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
188188 return -1;
189189
190190 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];
192192 if (s->boxes[box_id].len >= 2 && box->cut_score > max_score) {
193193 best_box_id = box_id;
194194 max_score = box->cut_score;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t