WMA: use type punning and unroll loops in decode_exp_vlc()
authorMåns Rullgård <mans@mansr.com>
Tue, 29 Sep 2009 10:38:30 +0000 (10:38 +0000)
committerMåns Rullgård <mans@mansr.com>
Tue, 29 Sep 2009 10:38:30 +0000 (10:38 +0000)
commitff00b94e9d4f66922abe1830da2954a024bf87e5
tree71992fc560075b0a73655a3e40fdefad3af9d75c
parentc0d1463da71dc035776171a9165e4f65218b3654
WMA: use type punning and unroll loops in decode_exp_vlc()

GCC does stupid things if these assignments are done using floats
directly, so fill the runs using integer operations instead.  Also
unroll the loops since the length is always a multiple of 4.

Originally committed as revision 20077 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/wmadec.c