mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-24 07:31:22 +01:00
avfilter/avf_ahistogram: fix off by one in slide mode
This commit is contained in:
parent
df2edfe1b0
commit
7ae2ded0d1
1 changed files with 1 additions and 1 deletions
|
|
@ -400,7 +400,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
|
|||
|
||||
if (s->slide == SCROLL) {
|
||||
for (p = 0; p < 4; p++) {
|
||||
for (y = s->h; y >= H + 1; y--) {
|
||||
for (y = s->h - 1; y >= H + 1; y--) {
|
||||
memmove(s->out->data[p] + (y ) * s->out->linesize[p],
|
||||
s->out->data[p] + (y-1) * s->out->linesize[p], w);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue