Mercurial > libavcodec.hg
comparison vorbis_dec.c @ 7446:a4ebced5d4a2 libavcodec
r14205 broke vorbis float_to_int on ppc
author | lorenm |
---|---|
date | Tue, 29 Jul 2008 14:17:13 +0000 |
parents | e267f2519248 |
children | 85ab7655ad4d |
comparison
equal
deleted
inserted
replaced
7445:a202753ce99d | 7446:a4ebced5d4a2 |
---|---|
924 int hdr_type; | 924 int hdr_type; |
925 | 925 |
926 vc->avccontext = avccontext; | 926 vc->avccontext = avccontext; |
927 dsputil_init(&vc->dsp, avccontext); | 927 dsputil_init(&vc->dsp, avccontext); |
928 | 928 |
929 if(vc->dsp.float_to_int16 == ff_float_to_int16_c) { | 929 if(vc->dsp.float_to_int16_interleave == ff_float_to_int16_interleave_c) { |
930 vc->add_bias = 385; | 930 vc->add_bias = 385; |
931 vc->exp_bias = 0; | 931 vc->exp_bias = 0; |
932 } else { | 932 } else { |
933 vc->add_bias = 0; | 933 vc->add_bias = 0; |
934 vc->exp_bias = 15<<23; | 934 vc->exp_bias = 15<<23; |