mirror of
https://github.com/librempeg/librempeg
synced 2024-11-23 19:58:59 +00:00
parent
62f4722582
commit
f069a9c2a6
@ -148,7 +148,7 @@ static int filter_vertically_##name(AVFilterContext *ctx, void *arg, int jobnr,
|
||||
\
|
||||
src = s->buffer + x; \
|
||||
ptr = buffer + x; \
|
||||
for (i = 0; i <= radius; i++) { \
|
||||
for (i = 0; i + radius < height && i <= radius; i++) { \
|
||||
acc += src[(i + radius) * width]; \
|
||||
count++; \
|
||||
ptr[i * linesize] = acc / count; \
|
||||
|
Loading…
Reference in New Issue
Block a user