diff wmaprodec.c @ 10314:ab687351bfef libavcodec

WMA: store level_table as floats, use type punning for sign flip in decode
author mru
date Tue, 29 Sep 2009 10:38:34 +0000
parents 9699e4499f2d
children 8eb51d3eccdf
line wrap: on
line diff
--- a/wmaprodec.c	Tue Sep 29 10:38:30 2009 +0000
+++ b/wmaprodec.c	Tue Sep 29 10:38:34 2009 +0000
@@ -769,7 +769,7 @@
     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);