for (int y = start; y < end; y++) {
for (int x = 0; x < width; x++) {
float factor = project(s->fx0, s->fy0, s->fx1, s->fy1, x, y);
- dst[x] = lerp_colors(s->color_rgba, s->nb_colors, factor);;
+ dst[x] = lerp_colors(s->color_rgba, s->nb_colors, factor);
}
dst += linesize;
for (int y = start; y < end; y++) {
for (int x = 0; x < width; x++) {
float factor = project(s->fx0, s->fy0, s->fx1, s->fy1, x, y);
- dst[x] = lerp_colors16(s->color_rgba, s->nb_colors, factor);;
+ dst[x] = lerp_colors16(s->color_rgba, s->nb_colors, factor);
}
dst += linesize;
{ NULL }
};
-AVFilter ff_vsrc_gradients = {
+const AVFilter ff_vsrc_gradients = {
.name = "gradients",
.description = NULL_IF_CONFIG_SMALL("Draw a gradients."),
.priv_size = sizeof(GradientsContext),