diff options
author | Paul B Mahol <onemda@gmail.com> | 2016-08-11 17:30:32 +0200 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2016-08-11 17:30:32 +0200 |
commit | eb3137255f5841e7203c3f25b297fe99d41c77ea (patch) | |
tree | 82c34fdc9ed2728196b60b735768f1c510a7842c | |
parent | a130165ed927af2cd8e4f4070e0289486cdcd221 (diff) | |
download | ffmpeg-eb3137255f5841e7203c3f25b297fe99d41c77ea.tar.gz |
avfilter/avf_avectorscope: fix initialization for prev_y in polar mode
-rw-r--r-- | libavfilter/avf_avectorscope.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/avf_avectorscope.c b/libavfilter/avf_avectorscope.c index 0db30d370f..3063283efb 100644 --- a/libavfilter/avf_avectorscope.c +++ b/libavfilter/avf_avectorscope.c @@ -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; } |