[FFmpeg-cvslog] swscale: Remove two bogus asserts
Diego Biurrun
git at videolan.org
Thu Sep 13 15:41:22 CEST 2012
ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Tue Sep 11 22:11:25 2012 +0200| [b9141aa346b736adffd27e1a98bd12aa7b628a8f] | committer: Diego Biurrun
swscale: Remove two bogus asserts
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b9141aa346b736adffd27e1a98bd12aa7b628a8f
---
libswscale/swscale.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/libswscale/swscale.c b/libswscale/swscale.c
index 4f0a049..edd3b72 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];
More information about the ffmpeg-cvslog
mailing list