diff options
author | Stefan Gehrer <stefan.gehrer@gmx.de> | 2010-02-19 20:42:55 +0000 |
---|---|---|
committer | Stefan Gehrer <stefan.gehrer@gmx.de> | 2010-02-19 20:42:55 +0000 |
commit | 3a201bd04f3455535f9760ac610bd0b60573d264 (patch) | |
tree | 25bad2fefc0879ac609003bc886245aeea2bce1a /libavcodec/wmaenc.c | |
parent | cdfc38f43b94e8ec3a9be10de2767778946d6eb5 (diff) | |
download | ffmpeg-3a201bd04f3455535f9760ac610bd0b60573d264.tar.gz |
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/wmaenc.c')
-rw-r--r-- | libavcodec/wmaenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/wmaenc.c b/libavcodec/wmaenc.c index a1da2830e5..b1d4cb160d 100644 --- a/libavcodec/wmaenc.c +++ b/libavcodec/wmaenc.c @@ -134,7 +134,7 @@ static void encode_exp_vlc(WMACodecContext *s, int ch, const int *exp_param){ int exp = *exp_param++; int code = exp - last_exp + 60; assert(code >= 0 && code < 120); - put_bits(&s->pb, ff_wma_scale_huffbits[code], ff_wma_scale_huffcodes[code]); + put_bits(&s->pb, ff_aac_scalefactor_bits[code], ff_aac_scalefactor_code[code]); /* XXX: use a table */ q+= *ptr++; last_exp= exp; |