Browse Source

swscale: fix warning: assignment from incompatible pointer type

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n1.1
Michael Niedermayer 12 years ago
parent
commit
aa9507cc3d
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      libswscale/swscale.c

+ 3
- 3
libswscale/swscale.c View File

@@ -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,


Loading…
Cancel
Save