libavcodec/ppc/mpegvideoencdsp.c: fix stack smashing in pix_norm1_altivec() and pix_s...
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Tue, 20 Jan 2015 17:46:01 +0000 (18:46 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 21 Jan 2015 02:20:41 +0000 (03:20 +0100)
commit840c3c05316a59c70a7470ed27aaa9c2f3ba410a
tree89a328c6c6466fc6d2c5c3e3ea1d0d5bdeec76e2
parent6c9dfa5a1b45a02e85c308e53bd39cd4a32826df
libavcodec/ppc/mpegvideoencdsp.c: fix stack smashing in pix_norm1_altivec() and pix_sum_altivec()

The vec_ste calls were mistakenly changed to vec_vsx_st in c5ca76a, which
caused stack smashing.

Changing them back fixes crashes on ppc64el, when configured with
--toolchain=hardened.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/ppc/mpegvideoencdsp.c