mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
sws: dont write out of array on bigendian
Fixes Ticket2229 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
48870853b2
commit
4e2c63685e
@ -605,6 +605,9 @@ static rgbConvFn findRgbConvFn(SwsContext *c)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ((dstFormat == AV_PIX_FMT_RGB32_1 || dstFormat == AV_PIX_FMT_BGR32_1) && !isRGBA32(srcFormat) && ALT32_CORR<0)
|
||||||
|
return NULL;
|
||||||
|
|
||||||
return conv;
|
return conv;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user