1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-04-14 00:58:38 +02:00

avfilter/palettegen: misc cosmetics

This commit is contained in:
Clément Bœsch 2022-12-27 14:55:18 +01:00
parent efb0a6f6ce
commit 61d334d8c3

View File

@ -188,7 +188,7 @@ static int get_next_box_id_to_split(PaletteGenContext *s)
return -1;
for (box_id = 0; box_id < s->nb_boxes; box_id++) {
struct range_box *box = &s->boxes[box_id];
const struct range_box *box = &s->boxes[box_id];
if (s->boxes[box_id].len >= 2 && box->cut_score > max_score) {
best_box_id = box_id;
max_score = box->cut_score;