diff wmadec.c @ 11215:964d01b50f17 libavcodec

remove a Huffman table from WMA which also exists in AAC
author stefang
date Fri, 19 Feb 2010 20:42:55 +0000
parents a8e640f4f388
children 01559518729e
line wrap: on
line diff
--- a/wmadec.c	Fri Feb 19 17:23:00 2010 +0000
+++ b/wmadec.c	Fri Feb 19 20:42:55 2010 +0000
@@ -116,9 +116,9 @@
     }
 
     if (s->use_exp_vlc) {
-        init_vlc(&s->exp_vlc, EXPVLCBITS, sizeof(ff_wma_scale_huffbits), //FIXME move out of context
-                 ff_wma_scale_huffbits, 1, 1,
-                 ff_wma_scale_huffcodes, 4, 4, 0);
+        init_vlc(&s->exp_vlc, EXPVLCBITS, sizeof(ff_aac_scalefactor_bits), //FIXME move out of context
+                 ff_aac_scalefactor_bits, 1, 1,
+                 ff_aac_scalefactor_code, 4, 4, 0);
     } else {
         wma_lsp_to_curve_init(s, s->frame_len);
     }