Skip to content
Snippets Groups Projects
Commit 70d25b89 authored by Paul B Mahol's avatar Paul B Mahol
Browse files

avfilter/vf_overlay: use slice_end in alpha_composite()


Signed-off-by: default avatarPaul B Mahol <onemda@gmail.com>
parent 19c3df0c
No related branches found
No related tags found
No related merge requests found
......@@ -611,7 +611,7 @@ static inline void alpha_composite(const AVFrame *src, const AVFrame *dst,
sa = src->data[3] + (i + slice_start) * src->linesize[3];
da = dst->data[3] + (y + i + slice_start) * dst->linesize[3];
for (i = i + slice_start; i < imax; i++) {
for (i = i + slice_start; i < slice_end; i++) {
j = FFMAX(-x, 0);
s = sa + j;
d = da + x+j;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment