mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-07-02 05:56:46 +08:00
swscale: Fix stack alignment for SSE
Although gcc guarantees 16 byte stack alignment, threads under WinXP don't appear to be guaranteed to start stack aligned. So fix the alignment. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
This commit is contained in:

committed by
Ronald S. Bultje

parent
f3a29b750a
commit
09d243ddd0
@ -806,7 +806,7 @@ static int check_image_pointers(uint8_t *data[4], enum PixelFormat pix_fmt,
|
|||||||
* swscale wrapper, so we don't need to export the SwsContext.
|
* swscale wrapper, so we don't need to export the SwsContext.
|
||||||
* Assumes planar YUV to be in YUV order instead of YVU.
|
* Assumes planar YUV to be in YUV order instead of YVU.
|
||||||
*/
|
*/
|
||||||
int sws_scale(struct SwsContext *c, const uint8_t* const srcSlice[],
|
int attribute_align_arg sws_scale(struct SwsContext *c, const uint8_t* const srcSlice[],
|
||||||
const int srcStride[], int srcSliceY, int srcSliceH,
|
const int srcStride[], int srcSliceY, int srcSliceH,
|
||||||
uint8_t* const dst[], const int dstStride[])
|
uint8_t* const dst[], const int dstStride[])
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user