Browse Source

swscale: Remove two bogus asserts

tags/n1.0
Diego Biurrun 13 years ago
parent
commit
b9141aa346
1 changed files with 0 additions and 2 deletions
  1. +0
    -2
      libswscale/swscale.c

+ 0
- 2
libswscale/swscale.c View 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];


Loading…
Cancel
Save