aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mpeg4videoenc.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/mpeg4videoenc.c
parentfdb94444beb9c32beb8cfc70656f5115d9eec58b (diff)
downloadffmpeg-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/mpeg4videoenc.c')
0 files changed, 0 insertions, 0 deletions