Fix build failure on osx 10.5.8 ppc
authorPavel Koshevoy <pkoshevoy@gmail.com>
Mon, 8 Oct 2012 03:13:28 +0000 (21:13 -0600)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 8 Oct 2012 03:40:26 +0000 (05:40 +0200)
commit9425dc3dba0bd1209aa7a788ea8f3c194fc7c7c5
tree9252ea7afeb9b1d03a5c1026dfee485a5d5e0538
parentf464b02d2214009344c2b5975e3ca2feb3c3ba38
Fix build failure on osx 10.5.8 ppc

Second parameter to vec_splat must be a literal, not a variable
value.  Therefore the second nested for-loop in
float_to_int16_stride_altivec had to be unrolled.

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