diff options
author | John Stebbins <jstebbins.hb@gmail.com> | 2011-11-18 15:06:17 -0800 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2011-11-19 09:55:07 -0800 |
commit | 09d243ddd0d939e97f3fe0b7f27320763ee41493 (patch) | |
tree | ed9eb82532be2efdde202de298afc0f6395f70d3 /libswscale/swscale_unscaled.c | |
parent | f3a29b750a5979ae6847879fba758faf1fae88d0 (diff) | |
download | ffmpeg-streaming-09d243ddd0d939e97f3fe0b7f27320763ee41493.zip ffmpeg-streaming-09d243ddd0d939e97f3fe0b7f27320763ee41493.tar.gz |
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>
Diffstat (limited to 'libswscale/swscale_unscaled.c')
-rw-r--r-- | libswscale/swscale_unscaled.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libswscale/swscale_unscaled.c b/libswscale/swscale_unscaled.c index c0161c2..c7e6a28 100644 --- a/libswscale/swscale_unscaled.c +++ b/libswscale/swscale_unscaled.c @@ -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. * 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, uint8_t* const dst[], const int dstStride[]) { |