diff options
author | Anton Mitrofanov <BugMaster@narod.ru> | 2011-07-10 20:07:43 +0400 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2011-07-10 14:52:21 -0700 |
commit | 142e76f1055de5dde44696e71a5f63f2cb11dedf (patch) | |
tree | b9c21ee1b84ada92f3c8b4a92c9e68bdabd5d69b /libavcodec/vp56dsp.c | |
parent | fdb94444beb9c32beb8cfc70656f5115d9eec58b (diff) | |
download | ffmpeg-streaming-142e76f1055de5dde44696e71a5f63f2cb11dedf.zip ffmpeg-streaming-142e76f1055de5dde44696e71a5f63f2cb11dedf.tar.gz |
swscale: fix crash with dithering due incorrect offset calculation.
ptrdiff_t can be 4 bytes, which leads to the next element being 4-byte
aligned and thus at a different offset than intended. Forcing 8-byte
alignment forces equal offset of dither16/32 on x86-32 and x86-64.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Diffstat (limited to 'libavcodec/vp56dsp.c')
0 files changed, 0 insertions, 0 deletions