swscale: Remove two bogus asserts
authorDiego Biurrun <diego@biurrun.de>
Tue, 11 Sep 2012 20:11:25 +0000 (22:11 +0200)
committerDiego Biurrun <diego@biurrun.de>
Thu, 13 Sep 2012 10:13:28 +0000 (12:13 +0200)
libswscale/swscale.c

index 4f0a049..edd3b72 100644 (file)
@@ -628,8 +628,6 @@ static int swScale(SwsContext *c, const uint8_t *src[],
                     }
                 }
             } else {
-                assert(lumSrcPtr  + vLumFilterSize - 1 < lumPixBuf  + vLumBufSize * 2);
-                assert(chrUSrcPtr + vChrFilterSize - 1 < chrUPixBuf + vChrBufSize * 2);
                 if (c->yuv2packed1 && vLumFilterSize == 1 &&
                     vChrFilterSize <= 2) { // unscaled RGB
                     int chrAlpha = vChrFilterSize == 1 ? 0 : vChrFilter[2 * dstY + 1];