Browse Source

avfilter/avf_avectorscope: fix initialization for prev_y in polar mode

tags/n3.2
Paul B Mahol 9 years ago
parent
commit
eb3137255f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavfilter/avf_avectorscope.c

+ 1
- 1
libavfilter/avf_avectorscope.c View File

@@ -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…
Cancel
Save