# HG changeset patch # User lorenm # Date 1217341033 0 # Node ID a4ebced5d4a2a20ed5291bb2ebab80f06653793a # Parent a202753ce99da5f9e43ccf4bff23d44b580d43ac r14205 broke vorbis float_to_int on ppc diff -r a202753ce99d -r a4ebced5d4a2 dsputil.h --- a/dsputil.h Tue Jul 29 05:39:33 2008 +0000 +++ b/dsputil.h Tue Jul 29 14:17:13 2008 +0000 @@ -66,6 +66,7 @@ void ff_vector_fmul_window_c(float *dst, const float *src0, const float *src1, const float *win, float add_bias, int len); void ff_float_to_int16_c(int16_t *dst, const float *src, long len); +void ff_float_to_int16_interleave_c(int16_t *dst, const float **src, long len, int channels); /* encoding scans */ extern const uint8_t ff_alternate_horizontal_scan[64]; diff -r a202753ce99d -r a4ebced5d4a2 vorbis_dec.c --- a/vorbis_dec.c Tue Jul 29 05:39:33 2008 +0000 +++ b/vorbis_dec.c Tue Jul 29 14:17:13 2008 +0000 @@ -926,7 +926,7 @@ vc->avccontext = avccontext; dsputil_init(&vc->dsp, avccontext); - if(vc->dsp.float_to_int16 == ff_float_to_int16_c) { + if(vc->dsp.float_to_int16_interleave == ff_float_to_int16_interleave_c) { vc->add_bias = 385; vc->exp_bias = 0; } else {