Commit eb313725 authored by Paul B Mahol's avatar Paul B Mahol

avfilter/avf_avectorscope: fix initialization for prev_y in polar mode

parent a130165e
......@@ -220,7 +220,7 @@ static int config_output(AVFilterLink *outlink)
outlink->frame_rate = s->frame_rate;
s->prev_x = s->hw = s->w / 2;
s->prev_y = s->hh = s->h / 2;
s->prev_y = s->hh = s->mode == POLAR ? s->h - 1 : s->h / 2;
return 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment