summaryrefslogtreecommitdiffstats
path: root/contrib/ffmpeg/A01-swscale-assert.patch
blob: e0b6aad6beb706fcfacd32e3655b9e586ceeb303 (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 e5e4d60..062ae01 100644
--- a/libswscale/utils.c
+++ b/libswscale/utils.c
@@ -531,7 +531,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) {