You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
swscale: fix warning: assignment from incompatible pointer type
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user