diff options
author | Diego Biurrun <diego@biurrun.de> | 2012-09-12 00:11:25 +0400 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2012-09-13 14:13:28 +0400 |
commit | b9141aa346b736adffd27e1a98bd12aa7b628a8f (patch) | |
tree | 68dbe724739b909c6619421f789eb9fef07436ea /libswscale/swscale.c | |
parent | 97cb9236cf3c45eb8a8fba8b88bdde6ece3f496f (diff) |
swscale: Remove two bogus asserts
Diffstat (limited to 'libswscale/swscale.c')
-rw-r--r-- | libswscale/swscale.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libswscale/swscale.c b/libswscale/swscale.c index 4f0a049b3d..edd3b728ee 100644 --- a/libswscale/swscale.c +++ b/libswscale/swscale.c @@ -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]; |