projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97cb923
)
swscale: Remove two bogus asserts
author
Diego Biurrun
<diego@biurrun.de>
Tue, 11 Sep 2012 20:11:25 +0000
(22:11 +0200)
committer
Diego Biurrun
<diego@biurrun.de>
Thu, 13 Sep 2012 10:13:28 +0000
(12:13 +0200)
libswscale/swscale.c
patch
|
blob
|
history
diff --git
a/libswscale/swscale.c
b/libswscale/swscale.c
index 4f0a049b3dacb96aecf5139214700cb8771f09c7..edd3b728ee65489efa9d78a4839029cb34f5fab9 100644
(file)
--- 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];