---
This fixes FATE with -DDEBUG, but I don't understand the code well
enough to know if this is correct. Also, a better log msg could help.
libswscale/swscale.c | 2 --
1 files changed, 0 insertions(+), 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];
--
1.7.1
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel