mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-24 03:59:43 +00:00
avfilter/avf_avectorscope: fix initialization for prev_y in polar mode
This commit is contained in:
parent
a130165ed9
commit
eb3137255f
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user