Commit aa9507cc authored by Michael Niedermayer's avatar Michael Niedermayer

swscale: fix warning: assignment from incompatible pointer type

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 05d81a57
......@@ -586,8 +586,8 @@ static int swScale(SwsContext *c, const uint8_t *src[],
// || yuv2planeX == yuv2planeX_8_c) || !ARCH_X86);
if(use_mmx_vfilter){
vLumFilter= c->lumMmxFilter;
vChrFilter= c->chrMmxFilter;
vLumFilter= (int16_t *)c->lumMmxFilter;
vChrFilter= (int16_t *)c->chrMmxFilter;
}
if (vLumFilterSize == 1) {
......@@ -618,7 +618,7 @@ static int swScale(SwsContext *c, const uint8_t *src[],
if (CONFIG_SWSCALE_ALPHA && alpPixBuf) {
if(use_mmx_vfilter){
vLumFilter= c->alpMmxFilter;
vLumFilter= (int16_t *)c->alpMmxFilter;
}
if (vLumFilterSize == 1) {
yuv2plane1(alpSrcPtr[0], dest[3], dstW,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment