summaryrefslogtreecommitdiff
path: root/libavcodec/wmadec.c
diff options
context:
space:
mode:
authorStefan Gehrer <stefan.gehrer@gmx.de>2010-02-19 20:42:55 +0000
committerStefan Gehrer <stefan.gehrer@gmx.de>2010-02-19 20:42:55 +0000
commit3a201bd04f3455535f9760ac610bd0b60573d264 (patch)
tree25bad2fefc0879ac609003bc886245aeea2bce1a /libavcodec/wmadec.c
parentcdfc38f43b94e8ec3a9be10de2767778946d6eb5 (diff)
remove a Huffman table from WMA which also exists in AAC
Originally committed as revision 21902 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/wmadec.c')
-rw-r--r--libavcodec/wmadec.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/wmadec.c b/libavcodec/wmadec.c
index 5e04e512f1..b2f8aa70d9 100644
--- a/libavcodec/wmadec.c
+++ b/libavcodec/wmadec.c
@@ -116,9 +116,9 @@ static int wma_decode_init(AVCodecContext * avctx)
}
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);
}