diff options
author | Måns Rullgård <mans@mansr.com> | 2009-09-29 14:38:34 +0400 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2009-09-29 14:38:34 +0400 |
commit | 076a9dea1ee01e54abf4a18f4aa73fad02f200a7 (patch) | |
tree | 3287271b4874d8a22b53ccb6655506aa57f677d8 /libavcodec/wmaprodec.c | |
parent | ff00b94e9d4f66922abe1830da2954a024bf87e5 (diff) |
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
Diffstat (limited to 'libavcodec/wmaprodec.c')
-rw-r--r-- | libavcodec/wmaprodec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/wmaprodec.c b/libavcodec/wmaprodec.c index a4fcab7d27..a489047956 100644 --- a/libavcodec/wmaprodec.c +++ b/libavcodec/wmaprodec.c @@ -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); |