blob: 8136a35b26e46fb4c16a8921d34460e502b74716 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
diff --git a/libswscale/utils.c b/libswscale/utils.c
index d8fee58..b96a771 100644
--- a/libswscale/utils.c
+++ b/libswscale/utils.c
@@ -508,7 +508,9 @@ static int initFilter(int16_t **outFilter, int32_t **filterPos,
// FIXME try to align filterPos if possible
// fix borders
- if (is_horizontal) {
+ // This "horizontal" only check causes a subsequent assert when
+ // upscaling.
+ /*if (is_horizontal)*/ {
for (i = 0; i < dstW; i++) {
int j;
if ((*filterPos)[i] < 0) {
|