summaryrefslogtreecommitdiff
path: root/libavcodec/h264_refs.c
diff options
context:
space:
mode:
authorAnton Mitrofanov <BugMaster@narod.ru>2011-07-10 20:07:43 +0400
committerRonald S. Bultje <rsbultje@gmail.com>2011-07-10 14:52:21 -0700
commit142e76f1055de5dde44696e71a5f63f2cb11dedf (patch)
treeb9c21ee1b84ada92f3c8b4a92c9e68bdabd5d69b /libavcodec/h264_refs.c
parentfdb94444beb9c32beb8cfc70656f5115d9eec58b (diff)
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/h264_refs.c')
0 files changed, 0 insertions, 0 deletions