arm: dsputil: fix overreads in put/avg_pixels functions
authorMans Rullgard <mans@mansr.com>
Wed, 9 May 2012 23:55:18 +0000 (00:55 +0100)
committerMans Rullgard <mans@mansr.com>
Thu, 10 May 2012 13:39:34 +0000 (14:39 +0100)
commitcbc7d60afa0c56f8e50131830278fd32a89aed9d
tree84874a4fbf59de529baf54be79485c78c94a1a53
parent1de53d006b754c8ecab2f31a223acfaea15924f4
arm: dsputil: fix overreads in put/avg_pixels functions

The vertically interpolating variants of these functions read
ahead one line to optimise the loop.  On the last line processed,
this might be outside the buffer.  Fix these invalid reads by
processing the last line outside the loop.

Signed-off-by: Mans Rullgard <mans@mansr.com>
libavcodec/arm/dsputil_neon.S