summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavfilter/vf_fspp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_fspp.c b/libavfilter/vf_fspp.c
index 4a1b7e03c2..2e73421b28 100644
--- a/libavfilter/vf_fspp.c
+++ b/libavfilter/vf_fspp.c
@@ -245,7 +245,7 @@ static void filter(FSPPContext *p, uint8_t *dst, uint8_t *src,
}
}
- if (y & 7) { // == height & 7
+ if (y & 7) { // height % 8 != 0
if (y & 8)
p->store_slice(dst + ((y - 8) & ~7) * dst_stride, p->temp + 8 + 8 * stride,
dst_stride, stride, width, y&7, 5 - p->log2_count);