swscale: add padding to conversion buffer.
authorSean McGovern <gseanmcg@gmail.com>
Fri, 11 Nov 2011 00:16:58 +0000 (19:16 -0500)
committerRonald S. Bultje <rsbultje@gmail.com>
Fri, 11 Nov 2011 15:44:35 +0000 (07:44 -0800)
commit124e56454dc9adbcc20fcf124785865549e04d7a
tree133afdd2e6870d2c4bc5dd49581a9e80e3d73581
parentb8a1b880ee155f4f27389f7f76a58a1d87eb7008
swscale: add padding to conversion buffer.

Altivec does unaligned reads from this buffer in
hscale_altivec_real(), and can thus read up to 16 bytes beyond
the end of the buffer. Therefore, add an extra 16 bytes of
padding at the end of the conversion buffer.

This fixes fate-lavfi-pixfmts_scale on AltiVec-enabled builds
under valgrind.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
libswscale/utils.c