mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 09:10:36 +00:00
videoscale: Fix off-by-one error in previous commit
Fix for 7c0b702e
. It helps to get your j+1's right.
This commit is contained in:
parent
7c0b702e14
commit
fc31f355ea
1 changed files with 2 additions and 2 deletions
|
@ -121,8 +121,8 @@ vs_image_scale_linear_RGBA (const VSImage * dest, const VSImage * src,
|
||||||
y1++;
|
y1++;
|
||||||
}
|
}
|
||||||
if (j >= y1) {
|
if (j >= y1) {
|
||||||
gst_videoscale_orc_resample_bilinear_u32 (LINE (j),
|
gst_videoscale_orc_resample_bilinear_u32 (LINE (j + 1),
|
||||||
src->pixels + j * src->stride, 0, x_increment, dest->width);
|
src->pixels + (j + 1) * src->stride, 0, x_increment, dest->width);
|
||||||
y1++;
|
y1++;
|
||||||
}
|
}
|
||||||
orc_merge_linear_u8 (dest->pixels + i * dest->stride,
|
orc_merge_linear_u8 (dest->pixels + i * dest->stride,
|
||||||
|
|
Loading…
Reference in a new issue