diff --git a/libavfilter/vsrc_testsrc.c b/libavfilter/vsrc_testsrc.c index 41c2e70068..4dc12c8a01 100644 --- a/libavfilter/vsrc_testsrc.c +++ b/libavfilter/vsrc_testsrc.c @@ -260,8 +260,6 @@ static int color_config_props(AVFilterLink *inlink) inlink->color_range, 0); ff_draw_color(&test->draw, &test->color, test->color_rgba); - test->w = ff_draw_round_to_sub(&test->draw, 0, -1, test->w); - test->h = ff_draw_round_to_sub(&test->draw, 1, -1, test->h); if (av_image_check_size(test->w, test->h, 0, ctx) < 0) return AVERROR(EINVAL);