WMA: store level_table as floats, use type punning for sign flip in decode

Originally committed as revision 20078 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Måns Rullgård
2009-09-29 10:38:34 +00:00
parent ff00b94e9d
commit 076a9dea1e
4 changed files with 18 additions and 11 deletions

View File

@@ -769,7 +769,7 @@ static int decode_coeffs(WMAProDecodeCtx *s, int c)
int cur_coeff = 0;
int num_zeros = 0;
const uint16_t* run;
const uint16_t* level;
const float* level;
dprintf(s->avctx, "decode coefficients for channel %i\n", c);